You need to sign in to do that
Don't have an account?
CK_Young
and then
global class my {
webservice static foo echoFoo(foo f) {
return f;
}
}
how can i use tools( WSDL2Java )for the mywsdl.wsdl to find many classes
for examle;
global class foo {
webservice string a;
webservice string b;
}
webservice string a;
webservice string b;
}
and then
global class my {
webservice static foo echoFoo(foo f) {
return f;
}
}
the WSDL for the ws class was included the definition of foo.
but when I make the tools( WSDL2Java )to the ws.wsdl , foo.class is not appeared.
how can many classes package into the same WSDL(same.wsdl)?
and then use the java-tools(WSDL2Java) to the WSDL(same.wsdl),and then i can find many classes just as api(Enterprise WSDL )?
and then use the java-tools(WSDL2Java) to the WSDL(same.wsdl),and then i can find many classes just as api(Enterprise WSDL )?
for examle
class boy{
string boymethod(){}
}
class girl{
string boymethod(){}
}
class friend{
string friendmethod(){}
}
how can i make the classes into the same wsdl,and then and then use the java-tools(WSDL2Java) to the WSDL(same.wsdl),i can find many classes (class boy,class girl,class friend).how can do it
import javax.xml.rpc.ServiceException;
import com.sforce.soap.enterprise.SforceServiceLocator;
import com.sforce.soap.enterprise.SoapBindingStub;
import com.sforce.soap.enterprise.fault.InvalidIdFault;
import com.sforce.soap.enterprise.fault.LoginFault;
import com.sforce.soap.enterprise.fault.UnexpectedErrorFault;
private static String userName ="";
private static String password = "";
public static void main(String[] args) {
try {
SessionHeader sh = new SessionHeader();
FooBindingStub Binding = (FooBindingStub) helloDataSL.getfoo();
"SessionHeader", doLogin(sh));
System.out.println(Binding.Foo(String ,String));
} catch (Exception e) {
e.printStackTrace();
}
}
}