You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Frank <fg...@optonline.net> on 2005/12/29 21:22:53 UTC

Custom deploy version not working, instant works

I have 2 services where one service calls the other. I initially used 
instant deployment and it works fine.  Now I tried to switch to using 
custom deployment using the wsdd files.  Now it seems to have deployed 
but when the one service calls the other service I get a bogus useless 
exception at the client.  Nothing really useful is thrown at the server 
side either.  (using tomcat 5.0.29).  Started to put trace statements in 
the generated stub code.   As far as I can tell it executes this line 
and must fail some how to the client get the exception back but nothing 
is thrown at the service level, why?  I even but a catchall exception 
just in case as it only caught org.apache.axis.AxisFault but nothing.

Line from the ServiceLoctor stub
 frankpc.axis.services.OMSSecure.OMSSecureSoapBindingStub _stub = new 
frankpc.axis.services.OMSSecure.OMSSecureSoapBindingStub(portAddress, this);

Can not put traces in the SoapBindingStub constructor until after call 
to this(service), and it doe snot get pass that.

Any one have any thoughts?

One different thing that I did see is when I goto the service from a 
display page stand point.  The new custom deploy looks like this:


  OMSSecure

Hi there, this is an AXIS service!

Perhaps there will be a form for invoking the service here...

i.e. no form for the wsdl but you will get it if you append the ?wsdl

But using instant deploy I get

There is a Web Service here

Click to see the WSDL </axis/OMS.jws?wsdl>