Click here to get back home

How to generate WSDL file from SOAP::Lite

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to generate WSDL file from SOAP::Lite sonet 05-25-2007
Posted by sonet on May 25, 2007, 5:48 am
Please log in for more thread options


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/encoding/">
<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>




Posted by Mumia W. on May 25, 2007, 11:05 am
Please log in for more thread options


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


Posted by RedGrittyBrick on May 25, 2007, 7:09 pm
Please log in for more thread options


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;

Similar ThreadsPosted
SOAP::Lite WSDL method with multiple soap:body parts February 16, 2005, 3:32 pm
SOAP::Lite and WSDL namespace - please help November 4, 2005, 10:43 am
SOAP::Lite and .wsdl files April 7, 2006, 11:36 am
SOAP::Lite POD::WSDL and .NET clients April 25, 2007, 12:41 pm
SOAP::Lite : Problem of # sign added by SOAP::Lite in the sent SOAPActionstring November 5, 2004, 8:45 pm
RFC: SOAP module with implicit WSDL generation April 4, 2008, 2:38 pm
SOAP::WSDL error accessing remote site. July 19, 2007, 3:14 am
Writing a HTML/ASP SOAP client for a SOAP::Lite destination March 16, 2005, 5:19 pm
Help with SOAP::Lite January 19, 2005, 11:35 pm
SOAP::Lite March 3, 2005, 6:13 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap