Greetings,  My need is to drop in a usable SOAP RPC client into a
service that has JAX-WS client calls.  I gave up on SOAP-RPC client side
with the 3rd party vendor's wsdl.   Axis 1.4 parsed and generated client
stubs and classes no problem.

One problem I noticed is that when testing with a service URL to an up
http service but wrong soap service.  The log indicates a bad service
but there's no exception thrown to the bind.serviceCall()?

Any helps or suggestions for smarter approach?   Terse client code
below.

Tnx, curt

 

URL portAddress = new URL(corbaReq.header.url);

 

binding = (com.twowire.services.LSServicesSoapBindingStub)

          new
com.twowire.services.LSServicesServiceLocator().getLSServices(portAddres
s);

try {

              // Set the SOAP call parameters and make the call

              //

              // This service call returns void or exception

                binding.createAccount(new java.lang.String(), 0, new
java.lang.String(), new java.lang.String(), new java.lang.String(), new
java.lang.String(), new java.lang.String(), new java.lang.String(), new
java.lang.String(), new java.lang.String(), new java.lang.String(), new
java.lang.String(), new java.lang.String(), new java.lang.String());

                

                //=== This method does not return a message.  Just
exception if an error.

            }

            catch (com.twowire.services.NotUniqueCPEIdentifierException
e1) {

                // Handle error, set error status in corba response.

              logger.debug("soap error, exc="+e1.dumpToString());

            }

            catch (com.twowire.services.PermissionDeniedException e2) {

              // Handle error, set error status in corba response.

              logger.debug("soap error, exc="+e2.dumpToString());

            }

            catch (com.twowire.services.exception.ServiceException e3) {

                // Handle error, set error status in corba response.

              logger.debug("soap error, exc="+e3.dumpToString());

            }

A bogus portAddress does not throw an exception here.

 

Thanks, curt

 

Curt Smith 
[EMAIL PROTECTED] 
404-499-7194

 


*****

The information transmitted is intended only for the person or entity to which 
it is addressed and may contain confidential, proprietary, and/or privileged 
material. Any review, retransmission, dissemination or other use of, or taking 
of any action in reliance upon this information by persons or entities other 
than the intended recipient is prohibited. If you received this in error, 
please contact the sender and delete the material from all computers. GA622


Reply via email to