This slightly fixed version appears to generate a working proxy, part of the problem appears to lie in the apachesoap:Map which apparently isn't support - you can work around this by adding the type yourself.

<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions name="webservice" targetNamespace="http://127.0.0.1/testSoap" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://127.0.0.1/testSoap" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://schemas.xmlsoap.org/soap/encoding/"> <types> <schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"> </import> <complexType name="Map"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item"> <complexType> <all> <element name="key" type="xsd:anyType"> </element> <element name="value" type="xsd:anyType"> </element> </all> </complexType> </element> </sequence> </complexType> <element name="Map" nillable="true" type="apachesoap:Map"> </element> </schema> </types> <wsdl:message name="get_OUT" namespace="http://127.0.0.1/testSoap"> <wsdl:part name="user" type="apachesoap:Map"> </wsdl:part> </wsdl:message> <wsdl:message name="get_IN" namespace="http://127.0.0.1/testSoap"> <wsdl:part name="id" type="xsd:int"> </wsdl:part> </wsdl:message> <wsdl:portType name="webserviceInt"> <wsdl:operation name="get"> <wsdl:input message="tns:get_IN"> </wsdl:input> <wsdl:output message="tns:get_OUT"> </wsdl:output> </wsdl:operation> </wsdl:portType> <wsdl:binding name="webserviceBinding" type="tns:webserviceInt"> <soap:binding style="rpc" transport="http"> </soap:binding> <wsdl:operation name="get"> <soap:operation soapAction="http://127.0.0.1/testSoap"> </soap:operation> <wsdl:input> <soap:body namespace="http://127.0.0.1/testSoap" parts="tns:get_IN" use="encoded"> </soap:body> </wsdl:input> <wsdl:output> <soap:body namespace="http://127.0.0.1/testSoap" parts="tns:get_OUT" use="encoded"> </soap:body> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="webserviceService"> <wsdl:port binding="tns:webserviceBinding" name="webservicePort"> <soap:address location="http://127.0.0.1/perl-bin/webservice.cgi"> </soap:address> </wsdl:port> </wsdl:service> </wsdl:definitions>
Obviously it is a bit tricky to test as I don't have access to your server code.

/J\


In reply to Re^3: SOAP::Lite with client using service by gellyfish
in thread SOAP::Lite with client using service by jammin

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.