Hi,
I have a problem and it’s very curious.
I’ll invoke a service from remote B2B.
It works in a browser:
[url]http://remoteserver:5555/invoke/package.interfaceName/service[/url]
I can access the other B2B over a browser and with wM Developer, but I get an error, when I invoke:
Context context=new Context();
context.connect(server, userName, password);
IData reply = context.invoke(interfaceName,serviceName, data);
Error:
com.wm.app.b2b.client.ServiceException
at com.wm.app.b2b.client.Context.invoke(Context.java:1003)
at com.wm.app.b2b.client.Context.invoke(Context.java:868)
at com.wm.app.b2b.client.Context.connect(Context.java:510)
at com.wm.app.b2b.client.Context.connect(Context.java:465)
Has anyone an idea?
Thanks in advance.