File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Not able to invoke webservice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Not able to invoke webservice" Watch "Not able to invoke webservice" New topic

Not able to invoke webservice

VamsiKrishna Sribhashyam

Joined: May 01, 2010
Posts: 1
I just deployed a webserice in weblogic 10.0 server. And I've written a client to invok it using SAAJ api. But I am facing the below error the moment I invoke. Can any one sugget me how to proceed further. Even I tried by putting some value in SOAPAction part of WSDL file. Still same issue I am facing.

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi="">
<faultcode xmlns:ns1="">ns1:Client.NoSOAPAction</faultcode>
<faultstring>no SOAPAction header!</faultstring>
<ns2:hostname xmlns:ns2="">VamsiKrishna-PC</ns2:hostname>
R Srini
Ranch Hand

Joined: Feb 19, 2010
Posts: 215
Hi. See if this link (from this forum) is helpful to you:

At the very end, there is also a link to a sample SAAJ client. If the above does not help, then please provide some more context.

Thank you.

I agree. Here's the link:
subject: Not able to invoke webservice
It's not a secret anymore!