>
> Hi all,
>
> I have a windows webService which i wanted to consume through
> perlclient.Below are the details.
>
> I have a windows webservice, Now i wanted to test these services, I wanted
> to consume them with perl client, These webservices are WSSE authenticated.I
> have tried with SOAP::Lite to generate the xml file with no luck,Can anybody
> help me or give me a sample script that generates the following xml file and
> fire it.
>
> Thanks in Advance,
> Siva
>
> Snippet
>
>
> ---------------------------------------------------------------------------------------------------
>
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="
> http://www.w3.org/2001/XMLSchema" xmlns:wsa="
> http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
> xmlns:wsu="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
> ">
> <soap:Header>
> <UserdefinedSOAPHeader xmlns="
> http://Company.product.Service.ServiceContracts/2001/30<http://company.product.service.servicecontracts/2001/30>
> ">
> <SessId>SessId=5af2c681-dc3b-4fe3-83cf-1aabb516a110</SessId>
> </UserdefinedSOAPHeader>
> <wsa:Action>
> http://Company.product.Service.ServiceContracts/2001/30/GetMethod<http://company.product.service.servicecontracts/2001/30/GetMethod>
> </wsa:Action>
>
> <wsa:MessageID>urn:uuid:f5df3b71-7ef4-4b07-acaf-532aaa282332</wsa:MessageID>
> <wsa:ReplyTo>
> <wsa:Address>
> http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
> </wsa:Address>
> </wsa:ReplyTo>
>
> <wsa:To>http://ProductServer/ProductService/Service.asmx<http://productserver/ProductService/Service.asmx>
> </wsa:To>
> <wsse:Security soap:mustUnderstand="1">
> <wsu:Timestamp
> wsu:Id="Timestamp-c87828a4-9a3b-42e5-b5d8-a92ce425aeee">
> <wsu:Created>2009-07-29T15:56:09Z</wsu:Created>
> <wsu:Expires>2009-07-29T16:01:09Z</wsu:Expires>
> </wsu:Timestamp>
> <wsse:UsernameToken xmlns:wsu="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
> wsu:Id="SecurityToken-9875f42d-6a7e-4ded-b3fd-108a1f9a8496">
>
> <wsse:Username>D1672EB1-8C45-4a8c-BBC7-E2F3C599494C</wsse:Username>
> <wsse:Password Type="
> http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">5XqKxPGhN0z44I9kvW6mB6mc28A=</wsse:Password<http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest%22%3E5XqKxPGhN0z44I9kvW6mB6mc28A=%3C/wsse:Password>
> >
> <wsse:Nonce>umOrMTyRd/BY3o4CaBwgZA==</wsse:Nonce>
> <wsu:Created>2009-07-29T15:56:09Z</wsu:Created>
> </wsse:UsernameToken>
> </wsse:Security>
> </soap:Header>
> <soap:Body>
> <GetMethod xmlns="
> http://Company.product.Service.ServiceContracts/2001/30<http://company.product.service.servicecontracts/2001/30>"
> />
> </soap:Body>
> </soap:Envelope>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>