Loading ...
Sorry, an error occurred while loading the content.

Re: [soaplite] No Such Operation message

Expand Messages
  • Paul Kulchenko
    Hi Thyaga, Don t see anything wrong in your code; Java server may not be able to find a method because SOAPAction header or namespace in the request is
    Message 1 of 2 , Nov 24, 2002
    • 0 Attachment
      Hi Thyaga,

      Don't see anything wrong in your code; Java server may not be able to
      find a method because SOAPAction header or namespace in the request
      is incorrect. Trace/wiredump from Java client or deployment
      descriptor will help to identify the problem.

      Best wishes, Paul.

      --- thyaga12 <thyaga@...> wrote:
      > Hi There
      > I have just recently started using the SOAP::Lite Module.
      >
      > I have a SoapService (written in Java) deployed through Tomcat at
      > http://localhost:8000/mywebapp/services/TestSoapProcessor
      >
      > and I have a method in my Service called processSoapOrder. I have
      > tested all these services and methods through a test Java client
      > that
      > i had written.
      >
      > Anyhow, now, i am trying to write the same Java client in PERL
      > using
      > SOAP::Lite and i am getting this error :
      >
      > org.xml.sax.SAXException: No such operation 'processSoapOrder' at
      > x.pl line 19
      >
      >
      > and my x.pl looks like this :
      >
      > =========================================================
      > #!c:\bin\perl\bin\perl
      >
      > use strict;
      > use SOAP::Lite;
      >
      > my $service = SOAP::Lite
      > -> uri ('TestSoapService')
      > -> proxy
      > ('http://localhost:8000/mywebapp/services/TestSoapProcessor');
      >
      > my %testHash;
      >
      > $testHash{'soapName'}='TestSoap';
      > $testHash{'soapCost'} = 10;
      > $testHash{'soapModels'}=['Model1','Model2'];
      >
      > my $response = $service->processSoapOrder(%testHash);
      > die $response->faultstring if $response->fault;
      >
      > print "The response was successful and is equal to ",
      > $response->result;
      >
      > ==============================================
      >
      >
      > Any help will be greatly appreciated.
      >
      > Thanks in advance.
      >
      > Regards
      > Thyaga
      >
      >
      >
      > To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
      >
      >


      __________________________________________________
      Do you Yahoo!?
      Yahoo! Mail Plus � Powerful. Affordable. Sign up now.
      http://mailplus.yahoo.com
    Your message has been successfully submitted and would be delivered to recipients shortly.