Skip to content

Commit

Permalink
fix: Remove local path
Browse files Browse the repository at this point in the history
  • Loading branch information
vincenzo-ingenito committed Nov 13, 2024
1 parent 9f6d241 commit 070d2f5
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 40 deletions.
12 changes: 0 additions & 12 deletions src/main/java/ihe/iti/xds_b/_2007/DocumentRegistryPortType.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,6 @@ public RegistryResponseType documentRegistryRegisterDocumentSetB(
@WebParam(name = "SubmitObjectsRequest", targetNamespace = "urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0", partName = "body")
SubmitObjectsRequest body);

/**
*
* @param body
* @return
* returns oasis.names.tc.ebxml_regrep.xsd.rs._3.RegistryResponseType
*/
@WebMethod(operationName = "DocumentRegistry_UpdateDocumentSet", action = "urn:ihe:iti:2010:UpdateDocumentSet")
@WebResult(name = "RegistryResponse", targetNamespace = "urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0", partName = "body")
public RegistryResponseType documentRegistryUpdateDocumentSet(
@WebParam(name = "SubmitObjectsRequest", targetNamespace = "urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0", partName = "body")
SubmitObjectsRequest body);

/**
*
* @param body
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Generated source version: 2.2
*
*/
@WebServiceClient(name = "DocumentRegistry_Service", targetNamespace = "urn:ihe:iti:xds-b:2007", wsdlLocation = "file:/Users/vincenzoingenito/Desktop/CLIENT_INI_NEW/LEO/WSDL_e_SCHEMA_INI/wsdl/XDS.b_DocumentRegistry_v1.wsdl")
@WebServiceClient(name = "DocumentRegistry_Service", targetNamespace = "urn:ihe:iti:xds-b:2007", wsdlLocation = "classpath:wsdl/XDS.b_DocumentRegistry_v1.wsdl")
public class UpdateDocumentRegistryService extends Service {

private final static URL DOCUMENTREGISTRYSERVICE_WSDL_LOCATION;
Expand All @@ -29,7 +29,7 @@ public class UpdateDocumentRegistryService extends Service {
URL url = null;
WebServiceException e = null;
try {
url = new URL("file:/Users/vincenzoingenito/Desktop/CLIENT_INI_NEW/LEO/WSDL_e_SCHEMA_INI/wsdl/XDS.b_DocumentRegistry_v1.wsdl");
url = new URL("classpath:wsdl/XDS.b_DocumentRegistry_v1.wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
Expand Down
26 changes: 0 additions & 26 deletions src/main/resources/wsdl/XDS.b_DocumentRegistry.wsdl
Original file line number Diff line number Diff line change
Expand Up @@ -76,15 +76,6 @@
<documentation>Register Document Set - b Response</documentation>
<part name="body" element="rs:RegistryResponse"/>
</message>
<!-- UPDATE -->
<message name="UpdateDocumentSet_Message">
<documentation>Update Document Set</documentation>
<part name="body" element="lcm:SubmitObjectsRequest"/>
</message>
<message name="UpdateDocumentSetResponse_Message">
<documentation>Update Document Set Response</documentation>
<part name="body" element="rs:RegistryResponse"/>
</message>
<message name="PRPA_IN201301UV02_Message">
<part name="body" element="hl7:PRPA_IN201301UV02"/>
</message>
Expand All @@ -104,13 +95,6 @@
<output message="ihe:RegisterDocumentSet-bResponse_Message"
wsaw:Action="urn:ihe:iti:2007:RegisterDocumentSet-bResponse"/>
</operation>
<!-- UPDATE -->
<operation name="DocumentRegistry_UpdateDocumentSet">
<input message="ihe:UpdateDocumentSet_Message"
wsaw:Action="urn:ihe:iti:2010:UpdateDocumentSet"/>
<output message="ihe:UpdateDocumentSetResponse_Message"
wsaw:Action="urn:ihe:iti:2010:UpdateDocumentSetResponse"/>
</operation>
<operation name="DocumentRegistry_RegistryStoredQuery">
<input message="ihe:RegistryStoredQuery_Message"
wsaw:Action="urn:ihe:iti:2007:RegistryStoredQuery"/>
Expand Down Expand Up @@ -147,16 +131,6 @@
<soap12:body use="literal"/>
</output>
</operation>
<!-- UPDATE -->
<operation name="DocumentRegistry_UpdateDocumentSet">
<soap12:operation soapAction="urn:ihe:iti:2010:UpdateDocumentSet"/>
<input>
<soap12:body use="literal"/>
</input>
<output>
<soap12:body use="literal"/>
</output>
</operation>
<operation name="DocumentRegistry_RegistryStoredQuery">
<soap12:operation soapAction="urn:ihe:iti:2007:RegistryStoredQuery"/>
<input>
Expand Down
70 changes: 70 additions & 0 deletions src/main/resources/wsdl/XDS.b_DocumentRegistry_v1.wsdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="utf-8"?><!-- This wsdl file is for an XDS.b Document Registry Actor --><definitions xmlns="http://schemas.xmlsoap.org/wsdl/" name="DocumentRegistry" targetNamespace="urn:ihe:iti:xds-b:2007" xmlns:hl7="urn:hl7-org:v3" xmlns:ihe="urn:ihe:iti:xds-b:2007" xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0" xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0" xmlns:rs="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<documentation>IHE XDS.b Document Registry</documentation>
<types>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:hl7-org:v3">
<!-- Include the message schema -->
<xsd:include schemaLocation="../schema/HL7V3/NE2008/multicacheschemas/PRPA_IN201301UV02.xsd"/>
</xsd:schema>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:hl7-org:v3">
<!-- Include the message schema -->
<xsd:include schemaLocation="../schema/HL7V3/NE2008/multicacheschemas/PRPA_IN201302UV02.xsd"/>
</xsd:schema>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:hl7-org:v3">
<!-- Include the message schema -->
<xsd:include schemaLocation="../schema/HL7V3/NE2008/multicacheschemas/PRPA_IN201304UV02.xsd"/>
</xsd:schema>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:hl7-org:v3">
<!-- Include the message schema -->
<xsd:include schemaLocation="../schema/HL7V3/NE2008/multicacheschemas/MCCI_IN000002UV01.xsd"/>
</xsd:schema>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0">
<!-- Include the message schema -->
<xsd:include schemaLocation="../schema/ebRS/query.xsd"/>
</xsd:schema>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0">
<!-- Include the message schema -->
<xsd:include schemaLocation="../schema/ebRS/rs.xsd"/>
</xsd:schema>
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:lcm:3.0">
<!-- Include the message schema -->
<xsd:include schemaLocation="../schema/ebRS/lcm.xsd"/>
</xsd:schema>
<!-- While no elements are directly used from this schema in the WSDL, it needs to be present here in order for
code generating toolkits to work properly -->
<xsd:schema elementFormDefault="qualified" targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:lcm="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0">
<!-- Include the message schema -->
<xsd:include schemaLocation="../schema/ebRS/rim.xsd"/>
</xsd:schema>
</types>
<message name="UpdateDocumentSet_Message">
<documentation>Update Document Set Request</documentation>
<part name="body" element="lcm:SubmitObjectsRequest"></part>
</message>
<message name="UpdateDocumentSetResponse_Message">
<documentation>Update Document Set Response</documentation>
<part name="body" element="rs:RegistryResponse"></part>
</message>
<portType name="DocumentRegistry_PortType">
<operation name="DocumentRegistry_UpdateDocumentSet">
<input message="ihe:UpdateDocumentSet_Message" wsaw:Action="urn:ihe:iti:2010:UpdateDocumentSet"></input>
<output message="ihe:UpdateDocumentSetResponse_Message" wsaw:Action="urn:ihe:iti:2010:UpdateDocumentSetResponse"></output>
</operation>
</portType>
<binding name="DocumentRegistry_Binding_Soap12" type="ihe:DocumentRegistry_PortType">
<soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="DocumentRegistry_UpdateDocumentSet">
<soap12:operation soapActionRequired="false"/>
<input>
<soap12:body use="literal"/>
</input>
<output>
<soap12:body use="literal"/>
</output>
</operation>
</binding>
<service name="DocumentRegistry_Service">
<port name="DocumentRegistry_UpdateDocumentSet_Port_Soap12" binding="ihe:DocumentRegistry_Binding_Soap12">
<soap12:address location="http://localhost:8620/update-document-set"/>
</port>
</service>
</definitions>

0 comments on commit 070d2f5

Please sign in to comment.