Hi.
I see this in stack trace:

org.apache.axis2.AxisFault: Please implement
org.presci.echo.service.EchoServiceSkeleton#echo_operation

This seems axis default empty skeleton message. Did you generate the service
aar with the correct code, perhaps you generated the aar with an old code...

Bye.
Antonio.


2008/1/10, prasad c iyer <[EMAIL PROTECTED]>:
>
> Got it I messed up the Ant file so the generated code was always
> overwriting
> the implemented class.
> Thanks for the help
>
> ----- Original Message -----
> From: "prasad c iyer" <[EMAIL PROTECTED]>
> To: <axis-user@ws.apache.org>
> Sent: Wednesday, January 09, 2008 3:44 PM
> Subject: Re: Error while invoking the axis service through PHP NUSoap
>
>
> > Following are my wsdl file, php file and soap request
> > wsdl file
> > <?xml version="1.0" encoding="UTF-8"?>
> > <definitions xmlns:tns="
> http://localhost:8080/my-app/services/EchoService";
> > xmlns="http://schemas.xmlsoap.org/wsdl/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
> > xmlns:ns1="http://localhost:8080/my-app/services/EchoService/types";
> > name="EchoService"
> > targetNamespace="http://localhost:8080/my-app/services/EchoService";>
> > <types>
> > <xsd:schema
> > targetNamespace="http://localhost:8080/my-app/services/EchoService/types
> ">
> > <xsd:element name="request_element" type="xsd:string"/>
> > <xsd:element name="response_element" type="xsd:string"/>
> > </xsd:schema>
> > <xsd:schema
> > targetNamespace="
> http://localhost:8080/my-app/services/EchoService/types:0";>
> > <xsd:element name="request_element" type="xsd:string"/>
> > <xsd:element name="response_element" type="xsd:string"/>
> > </xsd:schema>
> > </types>
> > <message name="echo_request">
> > <part name="parameters" element="ns1:request_element"/>
> > </message>
> > <message name="echo_response">
> > <part name="result" element="ns1:response_element"/>
> > </message>
> > <portType name="echo_portType">
> > <operation name="echo_operation">
> > <input name="echo_request" message="tns:echo_request"/>
> > <output name="echo_response" message="tns:echo_response"/>
> > </operation>
> > </portType>
> > <binding name="echo_binding" type="tns:echo_portType">
> > <soap:binding style="document"
> > transport="http://schemas.xmlsoap.org/soap/http"/>
> > <operation name="echo_operation">
> > <soap:operation soapAction="echo_operation"/>
> > <input name="echo_request">
> > <soap:body use="literal"/>
> > </input>
> > <output name="echo_response">
> > <soap:body use="literal"/>
> > </output>
> > </operation>
> > </binding>
> > <service name="EchoService">
> > <port name="EchoPort" binding="tns:echo_binding">
> > <soap:address
> > location="http://localhost:8080/my-app/services/EchoService"/>
> > </port>
> > </service>
> > </definitions>
> >
> > ------------------------------------------
> > php code:
> >
> > <?php
> > /**
> > * echo php
> > *
> > *
> > */
> >
> > require_once('nusoap.php');
> >
> > $client=new
> > nusoap_client('http://localhost:8080/my-app/services/EchoService?wsdl',
> > 'wsdl');
> > $err=$client->getError();
> > if($err){
> >    echo 'constructor error : '. $err ;
> >    die;
> > }
> > $proxy=$client->getProxy();
> > $err=$client->getError();
> > if($err){
> >    echo 'got error : '.$err;
> > }
> > $client->loadWSDL();
> > $err=$client->getError();
> > if($err){
> >    echo 'got error : '.$err;
> > }
> > echo 'WSDLnamespace'.$client->wsdl->namespaces;
> > foreach($client->wsdl->namespaces as $key=>$value){
> >    echo $key. ' ' . $value . '<br/>';
> > }
> > $param['parameters']=array('hello world');
> > $client->call('echo_operation', $param);
> > echo '<h2>Request</h2><pre>' . htmlspecialchars($client->request,
> > ENT_QUOTES) . '</pre>';
> > echo '<h2>Response</h2><pre>' . htmlspecialchars($client->response,
> > ENT_QUOTES) . '</pre>';
> > echo '<h2>Debug</h2><pre>' . htmlspecialchars($client->debug_str,
> > ENT_QUOTES) . '</pre>';
> > ?>
> >
> >
> >
> > --------------------------------------
> > request message
> > <?xml version="1.0" encoding="ISO-8859-1"?>
> > <SOAP-ENV:Envelope
> > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
> > xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
> > xmlns:ns4861="http://tempuri.org";>
> > <SOAP-ENV:Body>
> > <m:request_element
> > xmlns:m="http://localhost:8080/my-app/services/EchoService/types";>hello
> > world</m:request_element>
> > </SOAP-ENV:Body>
> > </SOAP-ENV:Envelope>
> >
> >
> >
> >
> > ----- Original Message -----
> > From: Martin Gainty
> > To: axis-user@ws.apache.org
> > Sent: Wednesday, January 09, 2008 3:30 PM
> > Subject: RE: Error while invoking the axis service through PHP NUSoap
> >
> >
> > Please display php client code and service wsdl
> >
> > Martin
> >
> > ______________________________________________
> > Disclaimer and confidentiality note
> > Everything in this e-mail and any attachments relates to the official
> > business of Sender. This transmission is of a confidential nature and
> > Sender does not endorse distribution to any party other than intended
> > recipient. Sender does not necessarily endorse content contained within
> > this transmission.
> >
> >
> >> Wrom:
> >>
> HMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNV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BARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKVFVWRK
> J
> >
> VZCMHVIBGDADRZFSQHYUCDDJBLVLMHAALPTCXLYRWTQTIPWIGYOKSTTZRCLBDXRQBGJSNBOHMKHJYFMYXOEAIJJPHSCRTNHGSWZIDREXCAXZOWCONEUQZAAFXISHJEXXIMQZUIVOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFAOBUZXUWLSZLK>
> >> at
> >> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
> :844)
> >> at
> >> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process
> (Http11Protocol.java:584)
> >> at
> >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> >> at java.lang.Thread.run(Thread.java:619)
> >> Caused by: java.lang.UnsupportedOperationException: Please implement
> >> org.presci.echo.service.EchoServiceSkeleton#echo_operation
> >> at
> >> org.presci.echo.service.EchoServiceSkeleton.echo_operation(
> EchoServiceSkeleton.java:21)
> >> at
> >>
> org.presci.echo.service.EchoServiceMessageReceiverInOut.invokeBusinessLogic
> (EchoServiceMessageReceiverInOut.java:51)
> >> ... 19 more
> >>
> >> The service is getting invoked properly through the skeleton. Can
> >> somebody
> >> point me in right direction?
> >> thanks
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >
> >
> > Put your friends on the big screen with Windows Vista(R) + Windows Live™.
> > Start now!
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to