Skip to content

Commit

Permalink
Fixed problem with XMLCalendar in WSDL file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Børlum committed Oct 5, 2011
1 parent 4d731d4 commit 697b92d
Showing 1 changed file with 28 additions and 14 deletions.
42 changes: 28 additions & 14 deletions nsp/cpr-ws/src/main/webapp/WEB-INF/wsdl/cprabbs.wsdl
Expand Up @@ -3,10 +3,10 @@
targetNamespace="http://nsi.dk/cprabbs/2011/10" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd"
xmlns:medcom="http://www.medcom.dk/dgws/2006/04/dgws-1.0.xsd"
xmlns:tns="http://nsi.dk/cprabbs/2011/10">

<types>
<types xmlns:jaxb="http://java.sun.com/xml/ns/jaxb">
<xsd:schema
targetNamespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
<xsd:include schemaLocation="wsse.xsd" />
Expand All @@ -24,6 +24,20 @@
<xsd:include schemaLocation="cprAbbsRequest.xsd" />
<xsd:include schemaLocation="cprAbbsResponse.xsd" />
</xsd:schema>

<xsd:schema targetNamespace="http://rep.oio.dk/medcom.sundcom.dk/xml/wsdl/2007/06/28/"
jaxb:version="2.1" elementFormDefault="qualified">

<xsd:annotation>
<xsd:appinfo>
<jaxb:globalBindings>
<jaxb:javaType name="java.util.Calendar" xmlType="xsd:dateTime"
parseMethod="javax.xml.bind.DatatypeConverter.parseDateTime"
printMethod="javax.xml.bind.DatatypeConverter.printDateTime" />
</jaxb:globalBindings>
</xsd:appinfo>
</xsd:annotation>
</xsd:schema>
</types>

<message name="cprAbbsRequest">
Expand All @@ -35,8 +49,8 @@
<message name="cprAbbsResponse">
<part name="wsseHeader" element="wsse:Security" />
<part name="medcomHeader" element="medcom:Header" />
<part name="cprAbbsResponse" element="tns:CprAbbsResponse"/>
</message>
<part name="cprAbbsResponse" element="tns:CprAbbsResponse" />
</message>

<message name="DGWSFault">
<part name="fault" element="medcom:FaultCode" />
Expand All @@ -57,19 +71,19 @@
<operation name="getChangedCprs">
<soap:operation soapAction="http://nsi.dk/cprabbs/2011/10/getChangedCprs" />
<input name="cprAbbsRequest">
<soap:header message="tns:cprAbbsRequest"
part="wsseHeader" use="literal" />
<soap:header message="tns:cprAbbsRequest"
part="medcomHeader" use="literal" />
<soap:header message="tns:cprAbbsRequest" part="wsseHeader"
use="literal" />
<soap:header message="tns:cprAbbsRequest" part="medcomHeader"
use="literal" />
<soap:body use="literal" parts="cprAbbsRequest" />
</input>
<output name="cprAbbsResponse">
<soap:header message="tns:cprAbbsResponse"
part="wsseHeader" use="literal"/>
<soap:header message="tns:cprAbbsResponse"
part="medcomHeader" use="literal"/>
<soap:body use="literal" parts="cprAbbsResponse"/>
</output>
<soap:header message="tns:cprAbbsResponse" part="wsseHeader"
use="literal" />
<soap:header message="tns:cprAbbsResponse" part="medcomHeader"
use="literal" />
<soap:body use="literal" parts="cprAbbsResponse" />
</output>
<fault name="DGWSFault">
<soap:fault name="DGWSFault" use="literal" />
</fault>
Expand Down

0 comments on commit 697b92d

Please sign in to comment.