Web Services

  • Thread starter Thread starter Gökhan TIKNAZOĞLU
  • Start date Start date
G

Gökhan TIKNAZOĞLU

Guest
Merhabalar. Elimde bir wsdl dosyası var. Xml yapısı da burada.

HttpRequest oluşturarak oluşturduğum xml i göndereceğim fakat wsdl içindeki xml yapısını çözemedim.

WSDL içeriği şöyle:


<!--
Published by JAX-WS RI at http://jax-ws.dev.java.net. RIs version is Metro/2.2.0-1 (tags/2.2.0u1-7139; 2012-06-02T10:55:19+0000) JAXWS-RI/2.2.6-2 JAXWS/2.2 svn-revision#unknown.
-->
<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://its.iegm.gov.tr/p2/notification/dispatch" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsoma="http://schemas.xmlsoap.org/ws/2004/09/policy/optimizedmimeserialization" targetNamespace="http://its.iegm.gov.tr/p2/notification/dispatch" name="DispatchNotification
<types>
<!--
<xsd:schema>
<xsd:import namespace="http://its.iegm.gov.tr/p2/notification/dispatch"
schemaLocation="http://its.saglik.gov.tr:80/ITSServices/DispatchNotification?xsd=1"/>
</xsd:schema>
-->
<xs:schema xmlns:tns="http://its.iegm.gov.tr/p2/notification/dispatch" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://its.iegm.gov.tr/p2/notification/dispatch
<xs:element name="DispatchRequest" nillable="true" type="tns:ItsRequest"/>
<xs:element name="DispatchResponse" nillable="true" type="tns:ItsResponse"/>
<xs:element name="itsError" nillable="true" type="tns:itsErrorType"/>
<xs:complexType name="ItsRequest
<xs:sequence>
<xs:element name="TOGLN" type="xs:string"/>
<xs:element name="PRODUCTS
<xs:complexType>
<xs:sequence>
<xs:element name="PRODUCT" maxOccurs="unbounded
<xs:complexType>
<xs:sequence>
<xs:element name="GTIN" type="xs:string"/>
<xs:element name="BN" type="xs:string"/>
<xs:element name="SN" type="xs:string"/>
<xs:element name="XD" type="xs:date"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ItsResponse
<xs:sequence>
<xs:element name="NOTIFICATIONID" type="xs:string"/>
<xs:element name="PRODUCTS
<xs:complexType>
<xs:sequence>
<xs:element name="PRODUCT" maxOccurs="unbounded
<xs:complexType>
<xs:sequence>
<xs:element name="GTIN" type="xs:string"/>
<xs:element name="SN" type="xs:string"/>
<xs:element name="UC" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="itsErrorType
<xs:sequence>
<xs:element name="faultCode" type="xs:string"/>
<xs:element name="faultMessage" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
<message name="sendDispatchNotification
<part name="body" element="tns:DispatchRequest"/>
</message>
<message name="sendDispatchNotificationResponse
<part name="body" element="tns:DispatchResponse"/>
</message>
<message name="ItsError
<part name="fault" element="tns:itsError"/>
</message>
<portType name="DispatchNotificationReceiver
<operation name="sendDispatchNotification
<input wsam:Action="http://its.iegm.gov.tr/p2/notification/dispatch/ItsRequest" message="tns:sendDispatchNotification"/>
<output wsam:Action="http://its.iegm.gov.tr/p2/notification/dispatch/DispatchNotificationReceiver/sendDispatchNotificationResponse" message="tns:sendDispatchNotificationResponse"/>
<fault message="tns:ItsError" name="ItsError" wsam:Action="http://its.iegm.gov.tr/p2/notification/dispatch/DispatchNotificationReceiver/sendDispatchNotification/Fault/ItsError"/>
</operation>
</portType>
<binding name="DispatchNotificationPortBinding" type="tns:DispatchNotificationReceiver
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="sendDispatchNotification
<soap:operation soapAction="http://its.iegm.gov.tr/p2/notification/dispatch/ItsRequest"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="ItsError
<soap:fault name="ItsError" use="literal"/>
</fault>
</operation>
</binding>
<service name="DispatchNotification
<port name="DispatchNotificationPort" binding="tns:DispatchNotificationPortBinding
<soap:address location="http://its.saglik.gov.tr:80/ITSServices/DispatchNotification"/>
</port>
</service>
</definitions>


Bunu datasette nasıl okutabilirim acaba?

Continue reading...
 

Similar threads

Back
Top