You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by local-underground <lo...@yahoo.com> on 2006/02/03 19:06:55 UTC
rpc/encoded support?
Does Axis2 0.94 support rpc/encoded WSDL2Java code generation? Also, are there known
issues calling a rpc/encoded Web Service?
The Web Service I am calling below is rpc/encoded.
--- local-underground <lo...@yahoo.com> wrote:
> Maybe my problem is my approach of calling a web service that takes no parameters?
> Here
> is my ClientUtil function:
>
> public static OMElement getCountriesAndStates()
> {
> OMFactory fac = OMAbstractFactory.getOMFactory();
> OMNamespace omNs = fac.createOMNamespace(
> "http://tempuri.org/SoapTixs/message/", "");
> OMElement method =
> fac.createOMElement("GetCountriesAndStates", omNs);
>
> return method;
> }
>
> Is that the appropriate way of calling a non-parameter function?
> Other than that, I have no idea what it could be.
>
> --- Deepal Jayasinghe <de...@opensource.lk> wrote:
>
> > pls recheck the request, I think ur request OMElment has some problem , but
> > not sure , pls try again and if you still have the problem pls create a JIRA
> >
> > Thanks,
> > Deepal
> > ................................................................
> > ~Future is Open~
> >
> > ----- Original Message -----
> > From: "local-underground" <lo...@yahoo.com>
> > To: <ax...@ws.apache.org>
> > Sent: Friday, February 03, 2006 4:26 AM
> > Subject: [Axis2] Server:XML Parser failed
> >
> >
> > > Hi all,
> > > I tried digging through the archives but cannot find the answer to what
> > > must be a simple
> > > fix. I am getting the following error on my simple WebService client when
> > > I try to call
> > > any web service?
> > >
> > >
> > >
> > > org.apache.axis2.AxisFault: Server:XML Parser failed at linenumber 1,
> > > lineposition 0,
> > > reason is: Unspecified error
> > >
> > > at
> > >
> >
>
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:295)
> > > at
> > > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:393)
> > > at
> > > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:326)
> > > at
> > >
> >
> com.vegas.warehouse.external.titan.EchoBlockingClient.main(EchoBlockingClient.java:53)
> > >
> > >
> > >
> > > Please help. I have no idea what is causing this.
> > >
> > > thanks
> > >
> > >
> > > chris
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam? Yahoo! Mail has the best spam protection around
> > > http://mail.yahoo.com
> > >
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Re: rpc/encoded support?
Posted by Anne Thomas Manes <at...@gmail.com>.
Axis 2 does not yet support rpc/encoded.
On 2/3/06, local-underground <lo...@yahoo.com> wrote:
>
> Does Axis2 0.94 support rpc/encoded WSDL2Java code generation? Also, are
> there known
> issues calling a rpc/encoded Web Service?
>
> The Web Service I am calling below is rpc/encoded.
>
>
>
> --- local-underground <lo...@yahoo.com> wrote:
>
> > Maybe my problem is my approach of calling a web service that takes no
> parameters?
> > Here
> > is my ClientUtil function:
> >
> > public static OMElement getCountriesAndStates()
> > {
> > OMFactory fac = OMAbstractFactory.getOMFactory();
> > OMNamespace omNs = fac.createOMNamespace(
> > "http://tempuri.org/SoapTixs/message/", "");
> > OMElement method =
> > fac.createOMElement("GetCountriesAndStates", omNs);
> >
> > return method;
> > }
> >
> > Is that the appropriate way of calling a non-parameter function?
> > Other than that, I have no idea what it could be.
> >
> > --- Deepal Jayasinghe <de...@opensource.lk> wrote:
> >
> > > pls recheck the request, I think ur request OMElment has some problem
> , but
> > > not sure , pls try again and if you still have the problem pls create
> a JIRA
> > >
> > > Thanks,
> > > Deepal
> > > ................................................................
> > > ~Future is Open~
> > >
> > > ----- Original Message -----
> > > From: "local-underground" <lo...@yahoo.com>
> > > To: <ax...@ws.apache.org>
> > > Sent: Friday, February 03, 2006 4:26 AM
> > > Subject: [Axis2] Server:XML Parser failed
> > >
> > >
> > > > Hi all,
> > > > I tried digging through the archives but cannot find the answer to
> what
> > > > must be a simple
> > > > fix. I am getting the following error on my simple WebService
> client when
> > > > I try to call
> > > > any web service?
> > > >
> > > >
> > > >
> > > > org.apache.axis2.AxisFault: Server:XML Parser failed at linenumber
> 1,
> > > > lineposition 0,
> > > > reason is: Unspecified error
> > > >
> > > > at
> > > >
> > >
> >
> org.apache.axis2.description.OutInAxisOperationClient.execute(
> OutInAxisOperation.java:295)
> > > > at
> > > > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java
> :393)
> > > > at
> > > > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java
> :326)
> > > > at
> > > >
> > >
> > com.vegas.warehouse.external.titan.EchoBlockingClient.main(
> EchoBlockingClient.java:53)
> > > >
> > > >
> > > >
> > > > Please help. I have no idea what is causing this.
> > > >
> > > > thanks
> > > >
> > > >
> > > > chris
> > > >
> > > > __________________________________________________
> > > > Do You Yahoo!?
> > > > Tired of spam? Yahoo! Mail has the best spam protection around
> > > > http://mail.yahoo.com
> > > >
> > >
> > >
> > >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>