axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Thomas Manes" <atma...@gmail.com>
Subject Re: [Axis2] Server did not recognize the value of HTTP Header SOAPAction
Date Mon, 22 May 2006 12:33:37 GMT
The SOAPAction value is a URI. The WSDL should specify the required
SOAPAction value.

Anne

On 5/22/06, Kees de Kooter <kdekooter@gmail.com> wrote:
>
> Thanks Deepal,
>
> That works. What kind of value is expected anyway?
>
>
> On 5/22/06, Deepal Jayasinghe <deepal@opensource.lk> wrote:
> >
> >
> > Kees de Kooter wrote:
> >
> > > How can I set the SOAPAction??
> >
> > option.setAction("soapaction");
> >
> > >
> > > This is the stacktrace:
> > >
> > > org.apache.axis2.AxisFault: Server did not recognize the value of HTTP
> > > Header SOAPAction: .
> > >     at
> > > org.apache.axis2.description.OutInAxisOperationClient.execute(
> OutInAxisOperation.java:287)
> > >
> > >     at
> > > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java
> :432)
> > >     at
> > > org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java
> :374)
> > >     at
> > > com.trafficits.soap.WebServiceConsumer.invoke(WebServiceConsumer.java
> :81)
> > >
> > >
> > > And this is my code:
> > >
> > > EndpointReference endpointReference = new EndpointReference(
> > >     endPointAddress);
> > >
> > > Options options = new Options();
> > > options.setTo(endpointReference);
> > > options.setTransportInProtocol(Constants.TRANSPORT_HTTP);
> > >
> > > OMFactory factory = OMAbstractFactory.getOMFactory();
> > >
> > > OMNamespace namespace = factory.createOMNamespace(
> > >     nameSpaceUri, "webService");
> > >
> > > OMElement method = factory.createOMElement(methodName, namespace);
> > >
> > > ServiceClient serviceClient = new ServiceClient();
> > > serviceClient.setOptions(options);
> > >
> > > OMElement result = serviceClient.sendReceive(method);
> > >
> > >
> >
> > --
> > Thanks,
> > Deepal
> > ................................................................
> > ~Future is Open~
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>
> --
> Cheers,
> Kees de Kooter
> http://www.boplicity.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

Mime
View raw message