Hello.
I am trying to implement a J2EE Web Service Client in a Session Bean. My
JBOSS version is 4.0.1. I get this message when the Bean attempts to make it's
first call:
| 2005-02-24 16:58:19,612 INFO [STDOUT]
{http://www.w3.org/2001/XMLSchema}schema already exists
| 2005-02-24 16:58:19,613 INFO [STDOUT]
{http://www.w3.org/2001/XMLSchema}schema already exists
| 2005-02-24 16:58:19,615 INFO [STDOUT]
{http://www.w3.org/2001/XMLSchema}schema already exists
| 2005-02-24 16:58:19,779 ERROR [org.jboss.ejb.plugins.LogInterceptor]
EJBException in method: public abstract java.lang.String
xxx.datastore.session.facade.external.Gne.authenticate() throws
java.rmi.RemoteException, causedBy:
| javax.naming.NamingException: Could not dereference object [Root exception
is java.lang.IllegalArgumentException: Multiple bindings for not supported for
service: {http://xxx.xxxxx.net/}Search]
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:647)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:658)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520)
| at javax.naming.InitialContext.lookup(InitialContext.java:347)
| at
flightcentre.datastore.session.facade.external.GneBean.authenticate(GneBean.java:61)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
| .
| .
| .
|
I am using the J2EE 'service-reference' method to look up the required service
in JNDI - ejb-jar excerpt follows:
| <ejb-name>Gne</ejb-name>
|
| <home>xxx.datastore.session.facade.external.GneHome</home>
| <remote>xxx.datastore.session.facade.external.Gne</remote>
| <local-home>xxx.datastore.session.facade.external.GneLocalHome</local-home>
| <local>xxx.datastore.session.facade.external.GneLocal</local>
| <ejb-class>xxx.datastore.session.facade.external.GneSession</ejb-class>
| <session-type>Stateless</session-type>
| <transaction-type>Container</transaction-type>
| <service-ref>
| <service-ref-name>services/gne</service-ref-name>
| <service-interface>javax.xml.rpc.Service</service-interface>
| <wsdl-file>META-INF/wsdl/gne.wsdl</wsdl-file>
| </service-ref>
|
I have no idea even where to start with this. The WSDL (gne.wsdl) describes a
webservice on a .NET server and seems highly complex. There are multiple
namespaces.
In the interests of brevity, I have not included all the code, but will if
someone asks for it.
Kind Regards,
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867707#3867707
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867707
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user