|
Dave, It’s more difficult to tell without
the complete WSDL (I’m assuming that somewhere in the deleted sections
from the <binding> it indicates style=”rpc”),
but… I did notice that you have a namespace
discrepancy between your WSDL input definition and your SOAP request. The WSDL says that your input namespace
should be "http://programName.companyName.com" è
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://programName.companyName.com" use="encoded" /> Meanwhile, your SOAP request uses xmlns:ns1="MyService" From: Dave Jacobson
[mailto:[EMAIL PROTECTED] Hi, OK, I've been working on this for...well, I'm embarrassed to
say exactly how long, but, needless to say, I've been working on this for a
while... I'm a major newbie to the whole environment so my error is
probably a basic one but one that I can nevertheless figure out. I would
be quite grateful to anyone who could assist... Here's the deal: I am just trying to create a test web service. I have
successfully run the userguide examples but I can't get my own web service to
run. I have a .jsp script on the client side that calls a web
service. The web service operation returns a string but I am getting
an axis fault error message. I think the problem has to do with the
namespace. I am only running this on localhost. I wasn't sure what
to put for the namespace. I attached: - tcpmon input and output - client code - wsdl file If there are other things that would be helpful to include I
would be glad to post additional info... I ran tcpmon on the port that I deployed the web
service. I was running everything on port 8081 but to setup TCPMonitor I
deployed the web service on port 8081 and then configured Tomcat to run on port
4200. Then I target the browser to port 4200 and TCPMonitor redirects the
web page to port 8081. At least that is what I hope it is doing. Here is the input as recorded by TCPMonitor: POST /axis/services/MyService HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime,
multipart/related, text/* User-Agent: Axis/1.1 Host: localhost Cache-Control: no-cache Pragma: no-cache SOAPAction: "" Content-Length: 558 <?xml version="1.0"
encoding="UTF-8"?> and here is the output as recorded by TCPMonitor: HTTP/1.1 500 Internal Server Error Content-Type: text/xml;charset=utf-8 Date: Sat, 29 May 2004 16:31:58 GMT Server: Apache-Coyote/1.1 Connection: close <?xml version="1.0"
encoding="UTF-8"?> The client .jsp code looks like this: <%@ page language="java"
org.apache.axis.client.Call, org.apache.axis.client.Service,
javax.xml.namespace.QName, org.apache.axis.AxisFault" %> <% //This is the URL of the webservice on my PC call.removeAllParameters() ; Here is what the wsdl looks like at http://localhost:8081/axis/services/MyService?wsdl <?xml version="1.0"
encoding="UTF-8" ?> (Note that I removed a bunch of things from the wsdl file
that were not related to this operation. I hope I didn't remove something
necessary to decipher what the problem is.) Thanks in advance, Dave |
- help with Axis fault Dave Jacobson
- RE: help with Axis fault Anne Thomas Manes
- Re: help with Axis fault Anne Thomas Manes
- Re: help with Axis fault Dave Jacobson
- RE: help with Axis fault Robert Lowe
- RE: help with Axis fault
- Fw: help with Axis fault Dave Jacobson
- Re: help with Axis fault Rommel Sharma
