User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the RSS, Web Services and SOAP section within the Web Development category of DaniWeb, a massive community of 375,238 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,110 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our RSS, Web Services and SOAP advertiser:
Views: 1738 | Replies: 0
Join Date: Mar 2008
Posts: 1
Reputation: jaimitoc30 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
jaimitoc30 jaimitoc30 is offline Offline
Newbie Poster

XML SOAP WSDL Help

  #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:

<?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
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb RSS, Web Services and SOAP Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the RSS, Web Services and SOAP Forum

All times are GMT -4. The time now is 4:22 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC