jQuery in Action, 3rd edition
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode>
<faultstring>no SOAPAction header!</faultstring>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">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: http://www.coderanch.com/t/479104/Web-Services/java/web-service-attachment-under-java

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: http://aspose.com/file-tools
subject: Not able to invoke webservice
jQuery in Action, 3rd edition