on 09-14-2004 8:40 AM
Hello,
I have a wsdl file and some Java classes generated on the basis of this wsdl. Now, can anybody tell me how I could have access to my business method from other java class.
Thanks for any feedback
Hi Altafin,
i just started with this too (in Internet Sales). Look if there are classes called xyzSoap and xyzService. To access the service i have this so far:
MyWS<b>Service</b> service = new MyWSService();
MyWS<b>Soap</b> mySoap = (MyWSSoap)service.getPort( "MyWSSoap" );
Your developtool (e.g. eclipse) should show the available methods then.
All in all i'am stuck (see my thread), so correct me if i'am wrong....
HTH rk
Message was edited by: Rainer Kruse
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
When try to call my business method, get_number() I get a runtime error
"ava.lang.ExceptionInInitializerError: java.lang.SecurityException: Prohibited package name: java.util.logging.........."
My code is:
PortalServiceService_Impl service =
new PortalServiceService_Impl();
PortalService ps= service.getComSapPortalPrtSoapPortalService();
String s=ps.getClass().toString();
int hc=ps.hashCode();
int ii=ps.get_number();
System.out.println (s);
System.out.println(hc);
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.