axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bu...@us.ibm.com
Subject Re: bug at wsdl2java creating ServiceLocation-Address ? beta3
Date Wed, 31 Jul 2002 12:50:53 GMT

Andreas,

WSDL2Java simply uses the address it finds in the WSDL file.  It doesn't
change it.

Russell Butek
butek@us.ibm.com


Andreas Schoernig <a.schoernig@winwalk.com> on 07/31/2002 02:53:01 AM

Please respond to axis-user@xml.apache.org

To:    axis-user@xml.apache.org
cc:
Subject:    bug at wsdl2java creating ServiceLocation-Address ? beta3



hi there...

I searched a few hours for a error at my webservice (my first webservice)
....

but it was just a littel character...

I generate all files from my wsdl-file... and test it with the test-
class...
but every-time i get a :

- Exception:
AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.NoService
 faultString: The AXIS engine could not find a target service to invoke!
targetService is hcp
 faultActor: null
 faultDetail:
        stackTrace: AxisFault
 faultCode: {http://xml.apache.org/axis/}Server.NoService
 faultString: The AXIS engine could not find a target service to invoke!
targetService is hcp
 faultActor: null
 faultDetail:

The AXIS engine could not find a target service to invoke!  targetService
is
hcp
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:303)
        at
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:577)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.
internalDoFilter(Application
FilterChain.java:247)


after hours searching trying at my tomcat-installation i found it...

the generated serviceLocator-file had a wrong adress:

    private final java.lang.String Hcp_address =
"http://127.0.0.1:8080/axis/services/hcp";

correct it is:
    private final java.lang.String Hcp_address =
"http://127.0.0.1:8080/axis/services/Hcp";

Hcp not hcp ... on all other wsdl2java-translations it was the same...

i think that is a bug, isn´t it ?
bye ...

Andi


winwalk-golf.de - so macht Sport Spass
__________________________________________________



Mit freundlichen Grüßen

Andreas Schörnig
-Golf-Entwicklung -

__________________________________________________
winwalk AG
Haberstraße 3
D-69126 Heidelberg
Direct +49 (0) 6221-316 91-436
Fax +49 (0) 6221-316 91-556
eMail: a.schoernig@winwalk.com
WebSite: www.winwalk.com

www.cojac.net lokal - regional - genial

www.winwalk-golf.de  so macht Sport Spass




Mime
View raw message