How to generate WSDL file from SOAP::Lite

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>
sonet.all [ Fr, 25 Mai 2007 11:48 ] [ ID #1723420 ]

Re: How to generate WSDL file from SOAP::Lite

On 05/25/2007 04:48 AM, sonet wrote:
> 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.
> [...]

http://search.cpan.org/search?query=wsdl&mode=module

http://search.yahoo.com/search?p=WSDL+.NET
paduille.4061.mumia.w [ Fr, 25 Mai 2007 17:05 ] [ ID #1723421 ]

Re: How to generate WSDL file from SOAP::Lite

sonet wrote:
> 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.

use POD::WSDL;
RedGrittyBrick [ Sa, 26 Mai 2007 01:09 ] [ ID #1723793 ]
Perl » comp.lang.perl.modules » How to generate WSDL file from SOAP::Lite

Vorheriges Thema: Installing WWW::Mechanize from CPAN shell
Nächstes Thema: AppConfig failure with ARGCOUNT_LIST