hi all,
i'm following a tutorial
wss4j to get some knowledge about wss4j.jar.
i've already installed axis on my
tomcat and able to call the various services.
but when i follow the procedure mentioned here and try to invoke the client
i get the following error.
E:\gaurav\official\devlopment\webServices\wss4jLearning>
java samples.stock.clien
t.StockServiceClient IBM
Exception in
thread "main" AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException: Server returned HTTP response code: 502 for U
RL:
http://services.xmethods.net/axis/getQuote?s=IBM faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:gabbi-dt
java.io.IOException: Server returned HTTP response code: 502 for URL:
http://ser vices.xmethods.net/axis/getQuote?s=IBM
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder
.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.
java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(Deserializ
ationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endEleme
nt(AbstractSAXParser.java:633)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scan
EndElement(XMLNSDocumentScannerImpl.java:719)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImp
l.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:834)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(X
ML11Configuration.java:764)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.
java:148)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Ab
stractSAXParser.java:1242)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at org.apache.axis.encoding.DeserializationContext.parse(Deserialization
Context.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders
tandChecker.java:62)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at samples.stock.client.StockWss01SoapBindingStub.getQuote(StockWss01Soa
pBindingStub.java:106)
at samples.stock.client.StockServiceClient.main(StockServiceClient.java:
31)
i tried googling for this, but not able to find anything relevant.
please tell me if its some configuration issue as it seems to me or there's something else is wrong.
Adding to this, i also want to understand the way wss4j works in making web services secure as i'm going to use it in my project. any urls,tutorials or book names will be really helpful as i'm not able to get a clear picture of this.

[ August 21, 2007: Message edited by: gaurav abbi ]