Not sure,
but in one of my toy web services I have this client-config.wsdd file:

<?xml version="1.0" encoding="UTF-8"?>
<deployment name="defaultClientConfig"
            xmlns="http://xml.apache.org/axis/wsdd/";
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
 <globalConfiguration>
   <parameter name="disablePrettyXML" value="true"/>
   <parameter name="enableNamespacePrefixOptimization" value="false"/>
 </globalConfiguration>
 <transport name="http"
pivot="java:org.apache.axis.transport.http.HTTPSender"/>
 <transport name="local"
pivot="java:org.apache.axis.transport.local.LocalSender"/>
 <transport name="java"
pivot="java:org.apache.axis.transport.java.JavaSender"/>
</deployment>

Notice it uses 'pivot' instead of 'class'. Also see how it starts with
"java:<package_name.class_name>"
Hope this helps!
-jeff

-----Original Message-----
From: Hillel Seltzer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 07, 2007 11:55 AM
To: [email protected]
Subject: RE: Axis and wss4j debugging

No, the handler is for sure on my class path, and it is
found when I put it in the wsdd.  The problem is that the
wsdd is somehow messing up the transport.  Let's forget
about the wss4j handler and just worry about getting the
client to connect using a wsdd so that it should get
a "missing security token" SOAP error.

Consider the following wsdd file:
<deployment xmlns="http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
  <transport name="http"
class="org.apache.axis.transport.http.HTTPSender"/>
</deployment>

Without any wsdd file, I get a "missing security token" error.
That should happen.
With the above wsdd file, the debug log shows that the program
builds the outgoing XML message, then just does not establish
a connection to send it.  Here is the end of the debug log:

- <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body><Pos
talCode
xmlns="https://thefinder.tax.ohio.gov/OHFinderService/";>44139</PostalCod
e><SalesAmount
xmlns="https://thefinder.tax.ohio.gov/OHFinderService/";>1.0</SalesAmount
><SalesDate
xsi:type="xsd:dateTime"
xmlns="https://thefinder.tax.ohio.gov/OHFinderService/";>2005-01-01T05:00
:00.000Z</SalesDate><ReturnMultiple
xmlns="https://thefinder.tax.ohio.gov/OHFinderService/";>true</ReturnMult
iple></soapenv:Body></soapenv:Envelope>
- Enter: AxisClient::invoke
- Enter: AxisClient::invoke
- EngineHandler: null
- EngineHandler: null
- Enter: SimpleChain::invoke
- Enter: SimpleChain::invoke
- Exit: SimpleChain::invoke
- Exit: SimpleChain::invoke
- org.apache.axis.i18n.resource::handleGetObject(semanticCheck00)
- org.apache.axis.i18n.resource::handleGetObject(semanticCheck00)
- Doing SOAP semantic checks...
- Doing SOAP semantic checks...
- Exit: AxisClient::invoke
- Exit: AxisClient::invoke
- Exit: Call::invoke()
- Exit: Call::invoke()
- Exit: Call::invoke(ns, meth, args)
- Exit: Call::invoke(ns, meth, args)
- axis.Call.invoke: 178 GetOHSalesTaxByZipCode
- axis.Call.invoke: 178 GetOHSalesTaxByZipCode
Exception in thread "main" java.lang.NullPointerException
        at larich.getohtax.GetOHTax.main(GetOHTax.java:39)


Thanks.
---Hillel


On Tue, 7 Aug 2007 09:56:08 -0400, Walker, Jeff wrote
> Hillel,
> I'm not really not sure, but it most likely is a classpath issue. I
> don't think it can find the class.
> See this below for a very similar problem like yours ??
>
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200412.mbox/%3COFE
> [EMAIL PROTECTED]
> Regards,
> -jeff
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to