Hi all,
I�ve made a Jframe on which i can start a Web Service.
When i click the Button "Best�tigen" a method startwebservice is called. This belongs to a
EJB and this one does nothing else then writing a XMl message with the Number (99) and drops it into a JMS Queue. What i don�t understand is following:
Where is
SOAP? I think that the Connection betwenn the EJB and the Client is done over http but where is then SOAP ? As i can see in the examples there is following code in the CLient:
String url = URL;
Properties h = new Properties();
h.put(Context.INITIAL_CONTEXT_FACTORY,
"weblogic.soap.http.SoapInitialContextFactory");
h.put("weblogic.soap.wsdl.interface",
EJBRemote.class.getName() );
h.put("weblogic.soap.verbose", "true" );
Context context = new InitialContext(h);
EJBRemote service = (EJBRemote)context.lookup(url+"/Ejb/statelessSession.EjbHome/statelessSession.EjbHome.wsdl");
// EJb -Call
service.starteWebservice(nummer);
Can yu please explain me, why the weblogic.soap.wsdl.interface is needed and what it does?
Could you please explain me , what here happens. I mean why this EJBRemote service = (EJBRemote)context.lookup(url+"/Ejb/statelessSession.EjbHome/statelessSession.EjbHome.wsdl") ?
I thought that WSDL is nothing else than a description language? Why is this line needed here?
I�ve been looking for this for now 3 Weeks and i don�t knw what else to do .
I hope you can help me .
Thank you in advance..