Web Service is deployed properly in Jboss and URL 
http://localhost:80/hello-servlet/Hello?wsdl displaying XML file content

When I am runing example client through ant it is working fine. But not working 
from command promt as below
c:\java -classpath ............. org.jboss.chap12.client.HelloClient 
"http://localhost:80/hello-servlet/Hello?wsdl"; "JBoss User"
--------------------------------------------------------------------------------
Contacting webservice at http://localhost:80/hello-servlet/Hello?wsdl
hello.hello(JBoss user)
[ERROR,PortProxy] Port error
java.lang.NullPointerException
        at java.util.Hashtable.put(Unknown Source)
        at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown 
Source)
        at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:263)
        at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:657)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
        at org.apache.axis.Message.getContentType(Message.java:496)
        at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
        at 
org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:126)
        at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
        at org.apache.axis.client.Call.invoke(Call.java:3014)
        at org.apache.axis.client.Call.invoke(Call.java:2608)
        at org.apache.axis.client.Call.invoke(Call.java:2513)
        at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
        at org.apache.axis.client.Call.invoke(Call.java:1914)
        at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
        at 
org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:372)
        at $Proxy0.hello(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:111)
        at $Proxy1.hello(Unknown Source)
        at org.jboss.chap12.client.HelloClient.main(HelloClient.java:33)
Exception in thread "main" java.rmi.RemoteException: null; nested exception is:
        java.lang.NullPointerException
        at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:184)
        at $Proxy1.hello(Unknown Source)
        at org.jboss.chap12.client.HelloClient.main(HelloClient.java:33)
Caused by: java.lang.NullPointerException
        at java.util.Hashtable.put(Unknown Source)
        at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(Unknown 
Source)
        at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:263)
        at org.apache.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:657)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:430)
        at org.apache.axis.Message.getContentType(Message.java:496)
        at 
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
        at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
        at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:160)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:123)
        at 
org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:126)
        at org.apache.axis.client.Call.invokeEngine(Call.java:3029)
        at org.apache.axis.client.Call.invoke(Call.java:3014)
        at org.apache.axis.client.Call.invoke(Call.java:2608)
        at org.apache.axis.client.Call.invoke(Call.java:2513)
        at org.apache.axis.client.Call.invokeInternal(Call.java:1973)
        at org.apache.axis.client.Call.invoke(Call.java:1914)
        at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
        at 
org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:372)
        at $Proxy0.hello(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:111)
        ... 2 more

View the original post : 
http://locahost:8080/index.html?module=bb&op=viewtopic&p=3892438#3892438

Reply to the post : 
http://locahost:8080/index.html?module=bb&op=posting&mode=reply&p=3892438


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to