Re: [Axis2] Server did not recognize the value of HTTP Header SOAPAction

2006-05-22 Thread Kees de Kooter

Thanks Anne!

On 5/22/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:

The SOAPAction value is a URI. The WSDL should specify the required
SOAPAction value.

Anne




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Server did not recognize the value of HTTP Header SOAPAction

2006-05-22 Thread Anne Thomas Manes
The SOAPAction value is a URI. The WSDL should specify the required SOAPAction value. AnneOn 5/22/06, Kees de Kooter <
[EMAIL PROTECTED]> wrote:Thanks Deepal,That works. What kind of value is expected anyway?
On 5/22/06, Deepal Jayasinghe <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]>>--Cheers,Kees de Kooter
http://www.boplicity.net-To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [Axis2] Server did not recognize the value of HTTP Header SOAPAction

2006-05-22 Thread Kees de Kooter

Thanks Deepal,

That works. What kind of value is expected anyway?


On 5/22/06, Deepal Jayasinghe <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Cheers,
Kees de Kooter
http://www.boplicity.net

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Server did not recognize the value of HTTP Header SOAPAction

2006-05-22 Thread Anne Thomas Manes
options.setActionOn 5/22/06, Kees de Kooter <[EMAIL PROTECTED]> wrote:
How can I set the SOAPAction??This is the stacktrace:org.apache.axis2.AxisFault: Server did not recognize the value of HTTPHeader 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);--Cheers,Kees de Kooterhttp://www.boplicity.net-To unsubscribe, e-mail: 
[EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Server did not recognize the value of HTTP Header SOAPAction

2006-05-22 Thread Deepal Jayasinghe


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]