tags:

views:

85

answers:

0

After using this code (and the previous example) i was able to send this request (after modifying)

NOTE: There are -'s bc i copied from IE for nicer formatting.

 <?xml version="1.0" encoding="UTF-8" ?> 
- <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="urn://www.herong.home/req" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:enc="http://www.w3.org/2003/05/soap-encoding"&gt;
- <env:Body>
- <ns1:hello3 env:encodingStyle="http://www.w3.org/2003/05/soap-encoding"&gt;
  <param0 xsi:type="xsd:string">world</param0> 
  <param1 xsi:type="xsd:string">MAN!</param1> 
  </ns1:hello3>
  </env:Body>
  </env:Envelope>

I need to send

<xs:complexType name="cmdResponse">
<xs:sequence>
<xs:element name="failed" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="error" type="Fault" maxOccurs="unbounded"/>
<xs:choice minOccurs="0">
<xs:element name="domain" type="domainRef"/>
<xs:element name="nameServer" type="nameServerRef"/>
<xs:element name="contact" type="contactRef"/>
<xs:element name="Customer" type="ci:Record"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>

That isnt close. How do i send the proper request? (tutorials, suggestions, etc). ATM i have no WSDL file. I dont know if i will have one or not.