As you said i tried the client using the dynamic proxy method...

ServiceFactory serviceFactory = ServiceFactory.newInstance();
  |             Service service = serviceFactory.createService(new 
URL(WSDL_LOCATION), serviceQN);
  |       
  |                             AvailableWebsiteEndpoint myProxy = 
(AvailableWebsiteEndpoint)service.getPort(portQN, 
AvailableWebsiteEndpoint.class);

I am using jboss-4.0.2,jdk1.5 but still it is trowing exceptions

java.rmi.RemoteException: null; nested exception is:
  |         java.lang.NullPointerException
  |         at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:176)
  |         at $Proxy1.getAvailableWebsites(Unknown Source)
  |         at org.admin.ezyield.WebsiteClient.main(WebsiteClient.java:66)
  | Caused by: java.lang.NullPointerException
  |         at java.util.Hashtable.put(Hashtable.java:396)
  |         at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.setProperty(SAXParserImpl.java:395)
  |         at 
org.jboss.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:262)
  |         at 
org.jboss.axis.MessagePart.getAsSOAPEnvelope(MessagePart.java:684)
  |         at org.jboss.axis.Message.getSOAPEnvelope(Message.java:428)
  |         at org.jboss.axis.Message.getContentType(Message.java:494)
  |         at 
org.jboss.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:386)
  |         at 
org.jboss.axis.transport.http.HTTPSender.invoke(HTTPSender.java:126)
  |         at 
org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
  |         at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
  |         at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
  |         at 
org.jboss.webservice.client.ClientEngine.invoke(ClientEngine.java:128)
  |         at org.jboss.axis.client.Call.invokeEngine(Call.java:3054)
  |         at org.jboss.axis.client.Call.invoke(Call.java:3039)
  |         at org.jboss.axis.client.Call.invoke(Call.java:2629)
  |         at org.jboss.axis.client.Call.invoke(Call.java:2538)
  |         at org.jboss.axis.client.Call.invokeInternal(Call.java:1976)
  |         at org.jboss.axis.client.Call.invoke(Call.java:1914)
  |         at org.jboss.webservice.client.CallImpl.invoke(CallImpl.java:265)
  |         at 
org.jboss.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:381)
  |         at $Proxy0.getAvailableWebsites(Unknown Source)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.jboss.webservice.client.PortProxy.invoke(PortProxy.java:105)

there is no exceptions in the server side....

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3883816#3883816

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3883816


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to