on 06-22-2014 10:22 AM
Hi,
I have created a subservience in SAP .. and the WSDL endpoint is :http://10.130.105.8:8000/sap/bc/srt/wsdl/flv_10002A111AD1/srvc_url/sap/bc/srt/rfc/sap/ztm_ws_get_emp...
But there is problem when I set the service definition. Can you help me, in how to generate the Java classes for SAP web service ?
Hi,
I have got the same problem.
When I try to create Web Service Client in eclipse IDE, it always says: invalid WSDL.
Any idea? Would you please tell me how did you figure this out? Thanks.
Regards,
Jerry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Any update ?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you got your WSDL from the web interface soamanager ?
Check the wsdl for soap:address tag .
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Hello again .
Have you tried your service using soapui ?
You can use your WSDL as input .
In order to eliminate eclipse problem try this service:(I just did)
http://www.oorsprong.org/websamples.countryinfo/CountryInfoService.wso?WSDL
Regards.
package main;
import java.io.FileInputStream;
import java.rmi.RemoteException;
import java.util.Properties;
import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapType;
import org.oorsprong.www.websamples_countryinfo.CountryInfoServiceSoapTypeProxy;
import org.oorsprong.www.websamples_countryinfo.TCountryCodeAndName;
public class Main {
public static void main(String[] args) {
try {
final Properties properties = new Properties();
properties.load(new FileInputStream("properties.ini"));
System.getProperties().putAll(properties);
} catch (final Exception exception) {
exception.printStackTrace();
}
new Main();
}
public Main() {
try {
final CountryInfoServiceSoapType infoServiceSoapType = new CountryInfoServiceSoapTypeProxy();
final TCountryCodeAndName[] tCountryCodeAndNames = infoServiceSoapType.listOfCountryNamesByName();
for (final TCountryCodeAndName tCountryCodeAndName : tCountryCodeAndNames) {
System.out.println(tCountryCodeAndName.getSName());
}
} catch (final RemoteException exception) {
exception.printStackTrace();
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.