- i have created a wsdl using gsoap from another system with gsoap.
- copied the wsdl to my system having Apache 2 and axis c++ 1.5 which works fine(well configured with parser libraries and axis dll's)
- generated stubs n skeletons using wsdl2ws .
- compiled skeleton and created a dll. and deployed.
- compiled stub successfully and when execuiting it is displaying some error in
  reading memory and when pressed ok it terminates
 
Iam attaching the wsdl file . can u please let me know were the fault is

Do you Yahoo!?
With a free 1 GB, there's more in store with Yahoo! Mail.


Do you Yahoo!?
With a free 1 GB, there's more in store with Yahoo! Mail.


Do you Yahoo!?
With a free 1 GB, there's more in store with Yahoo! Mail.
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="hello"
 targetNamespace="http://172.16.100.4/axis/hello.wsdl";
 xmlns:tns="http://172.16.100.4/axis/hello.wsdl";
 xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
 xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xmlns:xsd="http://www.w3.org/2001/XMLSchema";
 xmlns:ns="urn:hello"
 xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/";
 xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/";
 xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/";
 xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/";
 xmlns="http://schemas.xmlsoap.org/wsdl/";>

<types>

 <schema targetNamespace="urn:hello"
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xmlns:xsd="http://www.w3.org/2001/XMLSchema";
  xmlns:ns="urn:hello"
  xmlns="http://www.w3.org/2001/XMLSchema";
  elementFormDefault="unqualified"
  attributeFormDefault="unqualified">
  <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
  <!-- operation request element -->
  <element name="welcome">
   <complexType>
    <sequence>
     <element name="name" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    </sequence>
   </complexType>
  </element>
  <!-- operation response element -->
  <element name="welcomeResponse">
   <complexType>
    <sequence>
     <element name="result" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
    </sequence>
   </complexType>
  </element>
 </schema>

</types>

<message name="welcomeRequest">
 <part name="parameters" element="ns:welcome"/>
</message>

<message name="welcomeResponse">
 <part name="parameters" element="ns:welcomeResponse"/>
</message>

<portType name="helloPortType">
 <operation name="welcome">
  <documentation>Service definition of function ns__welcome</documentation>
  <input message="tns:welcomeRequest"/>
  <output message="tns:welcomeResponse"/>
 </operation>
</portType>

<binding name="hello" type="tns:helloPortType">
 <SOAP:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
 <operation name="welcome">
  <SOAP:operation soapAction=""/>
  <input>
     <SOAP:body parts="parameters" use="literal"/>
  </input>
  <output>
     <SOAP:body parts="parameters" use="literal"/>
  </output>
 </operation>
</binding>

<service name="hello">
 <documentation>gSOAP 2.7.6c generated service definition</documentation>
 <port name="hello" binding="tns:hello">
  <SOAP:address location="http://localhost:80"/>
 </port>
</service>

</definitions>

Reply via email to