| | |
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
![]() |
•
•
Join Date: Mar 2008
Posts: 1
Reputation:
Solved Threads: 0
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:
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
RSS, Web Services and SOAP Syntax (Toggle Plain Text)
<?xml version="1.0" encoding="UTF-8"?> <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/"> <wsdl:types> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://soap.web.relay.seven.com"> <xsd:complexType name="CreateAccountSubscriptionRequest"> <xsd:sequence> <xsd:element minOccurs="0" name="requests" nillable="true" type="ns1:ArrayOfAccountSubscriptionCreateParameters"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="ArrayOfAccountSubscriptionCreateParameters"> <xsd:sequence> <xsd:element maxOccurs="unbounded" minOccurs="0" name="AccountSubscriptionCreateParameters" nillable="true" type="ns1:AccountSubscriptionCreateParameters"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="AccountSubscriptionCreateParameters"> <xsd:sequence> <xsd:element minOccurs="0" name="accountId" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="description" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="errorCode" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="errorDescription" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="expirationTime" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="groupId" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="maxAccounts" nillable="true" type="xsd:int"/> <xsd:element minOccurs="0" name="msisdn" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="product" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="provisioningId" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="subscriptionType" nillable="true" type="xsd:int"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="CreateAccountSubscriptionResponse"> <xsd:sequence> <xsd:element minOccurs="0" name="responseCode" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="responseDescription" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="results" nillable="true" type="ns1:ArrayOfAccountSubscriptionCreateParameters"/> </xsd:sequence> </xsd:complexType> <xsd:complexType name="SoapHeader"> <xsd:sequence> <xsd:element minOccurs="0" name="password" nillable="true" type="xsd:string"/> <xsd:element minOccurs="0" name="username" nillable="true" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:schema> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://com.seven.relay.web.soap"> <xsd:element name="body" type="ns1:CreateAccountSubscriptionRequest"/> <xsd:element name="createAccountSubscriptionResponse" type="ns1:CreateAccountSubscriptionResponse"/> <xsd:element name="authToken" type="ns1:SoapHeader"/> </xsd:schema> </wsdl:types> <wsdl:message name="CreateAccountSubscriptionRequestHeaders"> <wsdl:part name="authToken" element="tns:authToken"> </wsdl:part> </wsdl:message> <wsdl:message name="CreateAccountSubscriptionRequest"> <wsdl:part name="body" element="tns:body"> </wsdl:part> </wsdl:message> <wsdl:message name="CreateAccountSubscriptionResponse"> <wsdl:part name="createAccountSubscriptionResponse" element="tns:createAccountSubscriptionResponse"> </wsdl:part> </wsdl:message> <wsdl:portType name="CreateAccountSubscriptionServiceIntf"> <wsdl:operation name="CreateAccountSubscription"> <wsdl:input name="CreateAccountSubscriptionRequest" message="tns:CreateAccountSubscriptionRequest"> </wsdl:input> <wsdl:output name="CreateAccountSubscriptionResponse" message="tns:CreateAccountSubscriptionResponse"> </wsdl:output> </wsdl:operation> </wsdl:portType> <wsdl:binding name="CreateAccountSubscriptionServiceIntfHttpBinding" type="tns:CreateAccountSubscriptionServiceIntf"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="CreateAccountSubscription"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="CreateAccountSubscriptionRequest"> <wsdlsoap:body use="literal"/> <wsdlsoap:header message="tns:CreateAccountSubscriptionRequestHeaders" part="authToken" use="literal"> </wsdlsoap:header> </wsdl:input> <wsdl:output name="CreateAccountSubscriptionResponse"> <wsdlsoap:body use="literal"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="CreateAccountSubscriptionServiceIntf"> <wsdl:port name="CreateAccountSubscriptionServiceIntfHttpPort" binding="tns:CreateAccountSubscriptionServiceIntfHttpBinding"> <wsdlsoap:address location="http://rel5600.seven.com/soap/CreateAccountSubscription"/> </wsdl:port> </wsdl:service> </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
•
•
Join Date: May 2008
Posts: 6
Reputation:
Solved Threads: 0
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.
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.
![]() |
Similar Threads
- VB.NET Soap Method Not Exposed (VB.NET)
- soap security (RSS, Web Services and SOAP)
- learning php (PHP)
- Senior Web Developer (PHP and MySQL) (Web Development Job Offers)
- problems understanding soap (RSS, Web Services and SOAP)
- Auto generate Java Code from WSDL using Axis (Java)
- Who can use this webservice ? (RSS, Web Services and SOAP)
- WSDL file EDITING (VB.NET)
- Send Me eBooks/Tutorial For XML & SOAP immediately (RSS, Web Services and SOAP)
Other Threads in the RSS, Web Services and SOAP Forum
- Previous Thread: Help with RPC style webservice
- Next Thread: A web service enabled appointment scheduler for universities/colleges (project)
| Thread Tools | Search this Thread |
.htaccess 301 accept access alltop api authentication binarysecuritytoken blog card collaboration credit data development ebay email evernote flash google government highrise htaccess intel internet legal live netbeans patent paypal php podcast proxy redirect rss rssfeeds searchmonkey server service soap software swappingxmlfromflash swappingxmlnodes url web webservices webservicesecurity wiki wikipedia xerces xml xslt y!os yahoo ydn





