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:

<?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

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

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.

This article has been dead for over six months. Start a new discussion instead.