XML SOAP WSDL Help

Please support our RSS, Web Services and SOAP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Mar 2008
Posts: 1
Reputation: jaimitoc30 is an unknown quantity at this point 
Solved Threads: 0
jaimitoc30 jaimitoc30 is offline Offline
Newbie Poster

XML SOAP WSDL Help

 
0
  #1
Mar 19th, 2008
Hi, I need to make a client which post an XML via HTTPS to a server. Everytime I run the process this is what I get back:

RSS, Web Services and SOAP Syntax (Toggle Plain Text)
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <wsdl:definitions targetNamespace="http://com.seven.relay.web.soap" xmlns:tns="http://com.seven.relay.web.soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://soap.web.relay.seven.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
  3. <wsdl:types>
  4. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://soap.web.relay.seven.com">
  5. <xsd:complexType name="CreateAccountSubscriptionRequest">
  6. <xsd:sequence>
  7. <xsd:element minOccurs="0" name="requests" nillable="true" type="ns1:ArrayOfAccountSubscriptionCreateParameters"/>
  8. </xsd:sequence>
  9. </xsd:complexType>
  10. <xsd:complexType name="ArrayOfAccountSubscriptionCreateParameters">
  11. <xsd:sequence>
  12. <xsd:element maxOccurs="unbounded" minOccurs="0" name="AccountSubscriptionCreateParameters" nillable="true" type="ns1:AccountSubscriptionCreateParameters"/>
  13. </xsd:sequence>
  14. </xsd:complexType>
  15. <xsd:complexType name="AccountSubscriptionCreateParameters">
  16. <xsd:sequence>
  17. <xsd:element minOccurs="0" name="accountId" nillable="true" type="xsd:string"/>
  18. <xsd:element minOccurs="0" name="description" nillable="true" type="xsd:string"/>
  19. <xsd:element minOccurs="0" name="errorCode" nillable="true" type="xsd:string"/>
  20. <xsd:element minOccurs="0" name="errorDescription" nillable="true" type="xsd:string"/>
  21. <xsd:element minOccurs="0" name="expirationTime" nillable="true" type="xsd:string"/>
  22. <xsd:element minOccurs="0" name="groupId" nillable="true" type="xsd:string"/>
  23. <xsd:element minOccurs="0" name="maxAccounts" nillable="true" type="xsd:int"/>
  24. <xsd:element minOccurs="0" name="msisdn" nillable="true" type="xsd:string"/>
  25. <xsd:element minOccurs="0" name="product" nillable="true" type="xsd:string"/>
  26. <xsd:element minOccurs="0" name="provisioningId" nillable="true" type="xsd:string"/>
  27. <xsd:element minOccurs="0" name="subscriptionType" nillable="true" type="xsd:int"/>
  28. </xsd:sequence>
  29. </xsd:complexType>
  30. <xsd:complexType name="CreateAccountSubscriptionResponse">
  31. <xsd:sequence>
  32. <xsd:element minOccurs="0" name="responseCode" nillable="true" type="xsd:string"/>
  33. <xsd:element minOccurs="0" name="responseDescription" nillable="true" type="xsd:string"/>
  34. <xsd:element minOccurs="0" name="results" nillable="true" type="ns1:ArrayOfAccountSubscriptionCreateParameters"/>
  35. </xsd:sequence>
  36. </xsd:complexType>
  37. <xsd:complexType name="SoapHeader">
  38. <xsd:sequence>
  39. <xsd:element minOccurs="0" name="password" nillable="true" type="xsd:string"/>
  40. <xsd:element minOccurs="0" name="username" nillable="true" type="xsd:string"/>
  41. </xsd:sequence>
  42. </xsd:complexType>
  43. </xsd:schema>
  44.  
  45. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://com.seven.relay.web.soap">
  46. <xsd:element name="body" type="ns1:CreateAccountSubscriptionRequest"/>
  47. <xsd:element name="createAccountSubscriptionResponse" type="ns1:CreateAccountSubscriptionResponse"/>
  48. <xsd:element name="authToken" type="ns1:SoapHeader"/>
  49. </xsd:schema>
  50.  
  51. </wsdl:types>
  52. <wsdl:message name="CreateAccountSubscriptionRequestHeaders">
  53. <wsdl:part name="authToken" element="tns:authToken">
  54. </wsdl:part>
  55. </wsdl:message>
  56. <wsdl:message name="CreateAccountSubscriptionRequest">
  57. <wsdl:part name="body" element="tns:body">
  58. </wsdl:part>
  59. </wsdl:message>
  60. <wsdl:message name="CreateAccountSubscriptionResponse">
  61. <wsdl:part name="createAccountSubscriptionResponse" element="tns:createAccountSubscriptionResponse">
  62. </wsdl:part>
  63. </wsdl:message>
  64. <wsdl:portType name="CreateAccountSubscriptionServiceIntf">
  65. <wsdl:operation name="CreateAccountSubscription">
  66. <wsdl:input name="CreateAccountSubscriptionRequest" message="tns:CreateAccountSubscriptionRequest">
  67. </wsdl:input>
  68. <wsdl:output name="CreateAccountSubscriptionResponse" message="tns:CreateAccountSubscriptionResponse">
  69. </wsdl:output>
  70. </wsdl:operation>
  71. </wsdl:portType>
  72. <wsdl:binding name="CreateAccountSubscriptionServiceIntfHttpBinding" type="tns:CreateAccountSubscriptionServiceIntf">
  73. <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  74. <wsdl:operation name="CreateAccountSubscription">
  75. <wsdlsoap:operation soapAction=""/>
  76. <wsdl:input name="CreateAccountSubscriptionRequest">
  77. <wsdlsoap:body use="literal"/>
  78. <wsdlsoap:header message="tns:CreateAccountSubscriptionRequestHeaders" part="authToken" use="literal">
  79. </wsdlsoap:header>
  80. </wsdl:input>
  81. <wsdl:output name="CreateAccountSubscriptionResponse">
  82. <wsdlsoap:body use="literal"/>
  83. </wsdl:output>
  84. </wsdl:operation>
  85. </wsdl:binding>
  86. <wsdl:service name="CreateAccountSubscriptionServiceIntf">
  87. <wsdl:port name="CreateAccountSubscriptionServiceIntfHttpPort" binding="tns:CreateAccountSubscriptionServiceIntfHttpBinding">
  88. <wsdlsoap:address location="http://rel5600.seven.com/soap/CreateAccountSubscription"/>
  89. </wsdl:port>
  90. </wsdl:service>
  91. </wsdl:definitions>

I know it is an XML Schema, and WSDL. The thing is that I dont know if it is saying that the XML string I am posting to the server is not correct? What should I do with this response? Also, whats the difference between an XML Schema and WSDL, I have been reading a lot of sites, but I am still confused.

Thanks a lot for any help
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 1
Reputation: deepusreedhar is an unknown quantity at this point 
Solved Threads: 0
deepusreedhar's Avatar
deepusreedhar deepusreedhar is offline Offline
Newbie Poster

Re: XML SOAP WSDL Help

 
0
  #2
Oct 13th, 2008
Hi,
Will you be able to help me by sending the source code piece that you are using to send the actual XML request. I need some sample source in VB.Net. please forward it to me if you have something on making and sending XMl requests.
Thank you,
DS
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 6
Reputation: gReaen is an unknown quantity at this point 
Solved Threads: 0
gReaen gReaen is offline Offline
Newbie Poster

Re: XML SOAP WSDL Help

 
0
  #3
Oct 15th, 2008
Hi,
I am learning WSDL too, so i won't be able to answer the posting to server part. But about XML and WSDL.. XML schema is something that is used to define what an XML document should contain, for mentioning the constraints on the data that it can contain etc.. It is similar to DTD.
WSDL is a document that describes what a web service provides. It tells about the messages that has to be passed and messages that can be expected from that service and what it does but not how it does the operation..
A WSDL file can contain XML schema within it to define the types of data that it will be using in defining the operations.

Hope i haven't confused more.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the RSS, Web Services and SOAP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC