axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Linus Kamb <>
Subject EPR for the Operation not found
Date Tue, 11 Sep 2007 00:41:56 GMT
I know this has been discussed before, but I'm stumped.

I have a service running, and I can contact it no problem using a 
stand-alone java client that uses the axis-generated stubs.

However, if I run fitnesse tests, they get an error:
<faultstring>The endpoint reference (EPR) for the Operation not found is and the WSA Action = 

The requests, as viewed from tcpmon, are virtually identical, other than 
the fitnesse has an empty soapenv:Header element.

There were remarks made on the list that this error is caused from using 
ws-addressing.  As with the others, I am not intentionally doing this.  
If I am, how do I stop it?  According to the web administrator app, 
addressing is not engaged. I pulled the "soapAction" out of the wsdl 
binding operation definitions, pulled the actionMappings out of the 
services.xml, and modified the client to use soap11.  While each of 
those little changes has brought the two requests closer, the fitnesse 
test still gets the error.

Is this a ws-addressing issue?

This has me stumped.

note that the service is behind a firewall, so the requests are 
proxy-passed through.  But both client and fitnesse access the same 
public url.

The working request, as viewed with tcpmon, looks like:

POST /axis2/services/ESPortalCDI HTTP/1.1
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
User-Agent: Axis2
Max-Forwards: 10
Content-Length: 570

<?xml version='1.0' encoding='UTF-8'?>
         <esdp:getStations xmlns:gml="" 
            <esdp:StationFilter xmlns:ogc="">
                  <esdp:StationIdentifier networkCode="IU" 
stationCode="ANMO" />
                  <esdp:StationIdentifier networkCode="TA" 
stationCode="C123" />

Note there is a SOAPAction: html header.  If I use SOAP1.2, that goes away.

The fitnesse request looks like:

POST /axis2/services/ESPortalCDI HTTP/1.1
Accept-Encoding: gzip
Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Content-Type: text/xml; charset=utf-8
Cache-Control: no-cache
Pragma: no-cache
User-Agent: Java/1.5.0_12
Max-Forwards: 10
Content-Length: 470

      <por:getStations xmlns:por="">
               <por:StationIdentifier networkCode="TA" stationCode="z789"/>
               <por:StationIdentifier networkCode="XE" stationCode="a123"/>

Attached is my wsdl.

FWIW, I've been able to cut and paste the working request into a telnet 
session, and get a correct response, but I cannot do the same for the 
fitnesse request.

Thanks for any insight!


View raw message