the code shlould be 

  | QName serviceQN = new QName("http://netcare.co.za/xi/switchtonetcare";, 
"SynchronousSoapReceiverService");
  | QName port = new QName("http://netcare.co.za/xi/switchtonetcare";, 
"SynchronousSoapReceiverPort");
  | QName operation = new QName("SynchronousSoapReceiver");
  | QName arg = new QName("urn:sap-com:document:sap:rfc:functions");
  | URL wsdlUrl = new URL("file:///D:/SynchronousSoapReceiver.wsdl");
  | ServiceFactory factory = ServiceFactory.newInstance();
  | Service service = factory.createService(wsdlUrl, serviceQN);
  | Call call = service.createCall(port, operation);
  | Object oRet = call.invoke(new Object[] { getDoc().getDocumentElement() });
  | 
The last one had 2 varables with the same name "service"

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

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


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to