I can use SOAP::Lite to build a soap server.
And use the SOAP::Lite to write the soap client.
But a .Net guy say that he need a WSDL file.
I have no idea how to generate the WSDL file.
I give him the trace result. But he didn't know what is it.
use SOAP::Lite +trace;
[REQUEST]
POST /myserver/transprocess
Accept: text/xml
Accept: multipart/*
Content-Length: 498
Content-Type: text/xml; charset=utf-8
SOAPAction: "BModule#fetch"
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENC=http://schemas.xmlsoap.org/soap/encoding/
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd=http://www.w3.org/1999/XMLSchema
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/enco ding/">
<SOAP-ENV:Body>
<namesp1:fetch xmlns:namesp1="BModule">
<c-gensym3 xsi:type="xsd:string">2001-01-01 13:00:00</c-gensym3>
<c-gensym5 xsi:type="xsd:string">2002-12-31 00:00:00</c-gensym5>
</namesp1:fetch>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[RESPONSE]
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding /"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body><fetchResponse xmlns="BModule">
<s-gensym3 xsi:type="xsd:base64Binary">........</s-gensym3></fetchResponse>
</soap:Body>
</soap:Envelope>
