scandihealth / lpr3-docs

https://scandihealth.github.io/lpr3-docs/
MIT License
11 stars 7 forks source link

Adding Service References & Generating classes to use services in VS #262

Closed vprxa closed 5 years ago

TueCN commented 5 years ago

Sorry, what exactly is the issue?

vprxa commented 5 years ago

Hi Scandihealth, I am trying to add the following URLs as Service References in Visual Studio:

https://lprws-test.sds.dsdn.dk/cda-ws/DocumentRepository_Service/PatientHealthcareSaveIfNoErrorsReportingService?wsdl

https://lprws-test.sds.dsdn.dk/cda-ws/DocumentRepository_Service/PatientHealthcareReportingService?wsdl

https://lprws-test.sds.dsdn.dk/cda-ws/DocumentRepository_Service/PatientHealthcareValidateReportingService?wsdl

The first URL resolves a method called DocumentRepository_ProvideAndRegisterDocumentSetb and the remaining cannot be resolved.

I have also tried to generate classes using wsdl.exe but they too result in error.

Am I using these services correctly?

Do you have documentation for the service methods i.e. request and response objects please? I ask because the docs at https://scandihealth.github.io/lpr3-docs/ provide service URLs and sample soap requests but do not document the DocumentRepository_ProvideAndRegisterDocumentSetb method. It contains types such as SubmitObjectsRequest, IdentifiableType and SlotType1 which aren't apparent.

Thank you, Joe

TueCN commented 5 years ago

Hi,

All 3 services have a method called DocumentRepository_ProvideAndRegisterDocumentSetb, but the method has different semantics/behavior for each service, as described on https://scandihealth.github.io/lpr3-docs/aspects/index.html#service-endpoint-setup

All the URLs resolves for me (I get the WSDL xml). I am afraid I cannot assist with language specific class generation.

You can find examples of valid requests and their responses on https://scandihealth.github.io/lpr3-docs/examples/index.html

The meaning of the request and response objects is defined by the various standards involved in the service. See https://scandihealth.github.io/lpr3-docs/links/index.html

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

vprxa commented 5 years ago

Hi @TueCN , Thank you for the information. Joe