homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

SOAP::Lite for Document/literal wrapped config

10+ Year Member

Msg#: 4280144 posted 11:35 am on Mar 11, 2011 (gmt 0)

Hello everyone,
I need to access this service (WSDL) for that i have read a lot of documentation about SoapLite, WSDL, SOAP and XML, since it is my first time working with it, everything is new to me.

By the service providers my request is OK but - "you should check soapaction parameter, unfortunately we cannot give them any further tips" - this was their answer to my support request. They are not very helpfull.

I've tried several other possibel combinations on that parameter, but away from what i toke for logic and nothing worked.

My code is:
use SOAP::Lite +trace => [ transport => sub { print $_[0]->as_string } ];
my $soap = SOAP::Lite->new( proxy => 'http://public_webservices.domain.com/folder/FreeGreatWebService.svc?WSDL');
$soap -> uri('http://webservices.domain.com/folder/') ;
$soap->on_action( sub { 'http://webservices.domain.com/folder/GetWebServiceVersion' });
my $som = $soap->call( 'GetWebServiceVersion');
die $som->fault->{ faultstring } if ($som->fault);
print "RESPONSE: $som\n" ;
The WSDL at 'http://public_webservices.domain.com/folder/FreeGreatWebService.svc?WSDL' is:

<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions name="FreeGreatWebService" targetNamespace="http://webservices.domain.com/folder"
<wsdl:import namespace="http://webservices.domain.com/folder/" location="../folder/FreeGreatSearchWebService_ServiceContract.wsdl" />
<wsdl:types />
- <wsdl:service name="FreeGreatSearchWebService">
- <wsdl:port name="BasicHttpBinding_IFreeGreatSearchWebService" binding="i0:BasicHttpBinding_IFreeGreatSearchWebService">
<soap:address location="" />

And keep getting an answer:

<faultcode xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</faultcode>

What am i missing, because at this point i do not know what i already tried to change/modify getting always the same result.




WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 4280144 posted 11:10 am on Mar 13, 2011 (gmt 0)

perhaps the proper soapAction requires the specification of the method as well as the uri.

are there any code samples available for that service that you can use for testing?
or perhaps there is a user forum for that service that will provide better support than the service provider.


WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4280144 posted 3:27 pm on Mar 14, 2011 (gmt 0)

I know this is probably trivial, but I just went through a scenario: is the action actually supported by the account/service? I had an integration with a "GreatWebService" and the client only has a "professional" account, the soap API in that case was only supported by a "premier" account.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved