Web services client interface design
I am looking into see how i can design a client side interface that will talk to mulitple web services. This client side interface will act as proxy and call multiple web services based on the input from web services clients. Can someone give some ideas/pattens that i could use to design this? I would like to use Java to implement.
thanks
B
yep. java would be one way to implement that
probably
Similar Messages
-
WLDL files exported from XI 2.0 not valid for Web Service Clients
Hi there,
Im struggling for almost a week with a <b>BAPI WSDL file</b> exported from the XI repository. My scenario is very simple; A BAPI in R/3 exposed as web service through XI using the SOAP adapter.
The intention was to generate a Web Service Client based on this WSDL file, unfortunately I get all kind of errors when trying to generate the client. (using tools like, SOAPScope, XML Spy and WebSphere Developer Studio none of this tools can validate the generated WSDL file obtained from XI)
Can someone <b>Please explain</b> me how/what exaclty do I have to do in order to expose my BAPI as Web Service in XI 2.0? Or Please tell me if this is just impossible in this version of XI.
Thanks a lot!
Rob.Hi Rob,
It seems that when exporting to a WSDL file from the Repository, <service> and <binding> are missing from the structure.
A way to work this out is to either add them maually, or to create the WSDL from the Directory, using the Create End Point as Webservice in the Tools menu.
When you do that, consider a couple of things:
1. The message interface, by which you create the wsdl should be inbound. The message interface in the scenario should be outbound.
2. In the binding section, the produced url is of the intergration server, and you need to change it to that defined in the SOAP adapter configuration.
Hope this helps.
Avihai -
Web service client compilation error
With the help of wscompile on JWSDP 1.6 I created all the files required for a web service client in SabreServerBridge.client.stub package. Now when I am trying to compile these files, I am getting the following stack trace. The stacktrace also includes the compile command:
C:\JWSE\Pool\SabreServerClient>compile *.java
C:\JWSE\Pool\SabreServerClient>javac -cp .;C:\Tomcat5\common\lib\servlet-api.jar
;C:\Tomcat5\common\lib\mssqlserver.jar;C:\Tomcat5\common\lib\msbase.jar;C:\Tomca
t5\common\lib\msutil.jar;C:\Tomcat5\common\lib\xercesImpl.jar;C:\Tomcat5\common\
lib\jaxp-api.jar;C:\Tomcat5\common\lib\sax.jar;C:\Tomcat5\common\lib\poolit.jar;
C:\Tomcat5\common\lib\databahn.jar;C:\Tomcat5\webapps\Book\WEB-INF\classes\DBSer
ver;C:\Tomcat5\webapps\Book\WEB-INF\classes\SabreServer\;C:\Tomcat5\commaon\lib\
jb2refscan-2.62.jar;C:\sun\jwsdp-1.6\jaxws\lib\jsr181-api.jar;C:\sun\jwsdp-1.6\j
axws\lib\jsr250-api.jar;C:\sun\jwsdp-1.6\jaxws\lib\jaxws-tools.jar;C:\sun\jwsdp-
1.6\jaxws\lib\jaxws-rt.jar;C:\sun\jwsdp-1.6\jaxws\lib\jaxws-api.jar;C:\sun\jwsdp
-1.6\jaxrpc\lib\jaxrpc-impl.jar;;;C:\sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-api.jar;C:\
sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-spi.jar;C:\sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-impl.
jar;C:\sun\jwsdp-1.6\jwsdp-shared\lib\jax-qname.jar;C:\sun\jwsdp-1.6\jwsdp-share
d\lib\activation.jar;C:\sun\jwsdp-1.6\jwsdp-shared\lib\mail.jar;C:\sun\jwsdp-1.6
\saaj\lib\saaj-impl.jar;C:\sun\jwsdp-1.6\saaj\lib\saaj-api.jar;C:\sun\jwsdp-1.6\
jaxp\lib\endorsed\xercesImpl.jar;C:\sun\jwsdp-1.6\jaxp\lib\endorsed\dom.jar;C:\J
WSE\Pool\SabreServerClient\gen; -d gen src\SabreServerBridge\client\stub\*.java
src\SabreServerBridge\client\stub\SabreServerBridge.java:11: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
public SabreServerBridge.client.stub.SSBridge getSSBridgePort() throws Servi
ceException;
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:55: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
public SabreServerBridge.client.stub.SSBridge getSSBridgePort() {
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPBuilder.java:12
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_get_RequestStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPBuilder.java:1
2: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_get_ResponseStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPBuilder
.java:12: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct _in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPBuilder.java:12
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_put_RequestStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
implements SabreServerBridge.client.stub.SSBridge {
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:33: interface expected here
implements SabreServerBridge.client.stub.SSBridge {
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:22: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private static final Class SSBridge_PortClass = SabreServerBridge.client.stu
b.SSBridge.class;
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:28: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SabreServerBridge_SerializerRegist
ry().getRegistry());
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:59: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_Stub stub = new SabreServerBridge
.client.stub.SSBridge_Stub(handlerChain);
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:59: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_Stub stub = new SabreServerBridge
.client.stub.SSBridge_Stub(handlerChain);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:31:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_getVersion_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:34:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
tVersion_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:38:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_getVersion_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:41:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
tVersion_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:45:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_get_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:48:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
t_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:52:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_put_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:55:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_pu
t_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:59:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_put_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:62:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_pu
t_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:66:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_get_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:69:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
t_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPBuilder.java:57
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeget_RequestStruct)in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct_SOAPBuilder bui
lder = null;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPBuilder.java:5
7: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeget_ResponseStruct)i
nstance;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct_SOAPBuilder bu
ilder = null;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
ResponseStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPBuilder
.java:57: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgegetVersion_ResponseS
truct)instance;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = new SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = new SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct_SOAPBui
lder builder = null;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
Version_ResponseStruct_SOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPBuilder.java:68
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeput_RequestStruct)in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:38: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:38: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct_SOAPBuilder bui
lder = null;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:54: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_put
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:68: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_put
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:87: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:87: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:92: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:92: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:58: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct _mySSBridge
getRequestStruct =
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:59: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:72: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct _mySSBridg
e_get_ResponseStruct = null;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:76: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
(SabreServerBridge.client.stub.SSBridge_get_ResponseStruct)(
(SOAPDeserializationState)_responseObj).getInstance();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:79: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
(SabreServerBridge.client.stub.SSBridge_get_ResponseStruct)_
responseObj;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:109: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct _myS
SBridge_getVersion_RequestStruct =
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:110: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStr
uct();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:122: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct _my
SSBridge_getVersion_ResponseStruct = null;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:126: cannot find symbol
symbol : class client
locatWith the help of wscompile on JWSDP 1.6 I created all the files required for a web service client in SabreServerBridge.client.stub package. Now when I am trying to compile these files, I am getting the following stack trace. The stacktrace also includes the compile command:
C:\JWSE\Pool\SabreServerClient>compile *.java
C:\JWSE\Pool\SabreServerClient>javac -cp .;C:\Tomcat5\common\lib\servlet-api.jar
;C:\Tomcat5\common\lib\mssqlserver.jar;C:\Tomcat5\common\lib\msbase.jar;C:\Tomca
t5\common\lib\msutil.jar;C:\Tomcat5\common\lib\xercesImpl.jar;C:\Tomcat5\common\
lib\jaxp-api.jar;C:\Tomcat5\common\lib\sax.jar;C:\Tomcat5\common\lib\poolit.jar;
C:\Tomcat5\common\lib\databahn.jar;C:\Tomcat5\webapps\Book\WEB-INF\classes\DBSer
ver;C:\Tomcat5\webapps\Book\WEB-INF\classes\SabreServer\;C:\Tomcat5\commaon\lib\
jb2refscan-2.62.jar;C:\sun\jwsdp-1.6\jaxws\lib\jsr181-api.jar;C:\sun\jwsdp-1.6\j
axws\lib\jsr250-api.jar;C:\sun\jwsdp-1.6\jaxws\lib\jaxws-tools.jar;C:\sun\jwsdp-
1.6\jaxws\lib\jaxws-rt.jar;C:\sun\jwsdp-1.6\jaxws\lib\jaxws-api.jar;C:\sun\jwsdp
-1.6\jaxrpc\lib\jaxrpc-impl.jar;;;C:\sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-api.jar;C:\
sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-spi.jar;C:\sun\jwsdp-1.6\jaxrpc\lib\jaxrpc-impl.
jar;C:\sun\jwsdp-1.6\jwsdp-shared\lib\jax-qname.jar;C:\sun\jwsdp-1.6\jwsdp-share
d\lib\activation.jar;C:\sun\jwsdp-1.6\jwsdp-shared\lib\mail.jar;C:\sun\jwsdp-1.6
\saaj\lib\saaj-impl.jar;C:\sun\jwsdp-1.6\saaj\lib\saaj-api.jar;C:\sun\jwsdp-1.6\
jaxp\lib\endorsed\xercesImpl.jar;C:\sun\jwsdp-1.6\jaxp\lib\endorsed\dom.jar;C:\J
WSE\Pool\SabreServerClient\gen; -d gen src\SabreServerBridge\client\stub\*.java
src\SabreServerBridge\client\stub\SabreServerBridge.java:11: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
public SabreServerBridge.client.stub.SSBridge getSSBridgePort() throws Servi
ceException;
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:55: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
public SabreServerBridge.client.stub.SSBridge getSSBridgePort() {
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPBuilder.java:12
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_get_RequestStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPBuilder.java:1
2: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_get_ResponseStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPBuilder
.java:12: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct _in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPBuilder.java:12
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private SabreServerBridge.client.stub.SSBridge_put_RequestStruct _instance;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
implements SabreServerBridge.client.stub.SSBridge {
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:33: interface expected here
implements SabreServerBridge.client.stub.SSBridge {
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:22: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
private static final Class SSBridge_PortClass = SabreServerBridge.client.stu
b.SSBridge.class;
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:28: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SabreServerBridge_SerializerRegist
ry().getRegistry());
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:59: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_Stub stub = new SabreServerBridge
.client.stub.SSBridge_Stub(handlerChain);
^
src\SabreServerBridge\client\stub\SabreServerBridge_Impl.java:59: cannot find sy
mbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_Stub stub = new SabreServerBridge
.client.stub.SSBridge_Stub(handlerChain);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:31:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_getVersion_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:34:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
tVersion_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:38:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_getVersion_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:41:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
tVersion_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:45:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_get_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:48:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
t_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:52:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_put_RequestStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:55:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_pu
t_RequestStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:59:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_put_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:62:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_pu
t_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:66:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
CombinedSerializer serializer = new SabreServerBridge.client.stub.SS
Bridge_get_ResponseStruct_SOAPSerializer(type,
^
src\SabreServerBridge\client\stub\SabreServerBridge_SerializerRegistry.java:69:
cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
registerSerializer(mapping,SabreServerBridge.client.stub.SSBridge_ge
t_ResponseStruct.class, type, serializer);
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPBuilder.java:57
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeget_RequestStruct)in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct_SOAPBuilder bui
lder = null;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_RequestStruct_SOAPSerializer.java
:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_get_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPBuilder.java:5
7: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeget_ResponseStruct)i
nstance;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct_SOAPBuilder bu
ilder = null;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
ResponseStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_get_ResponseStruct_SOAPSerializer.jav
a:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_get_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_RequestStruct_SOAPSerializ
er.java:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct instance
= (SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPBuilder
.java:57: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgegetVersion_ResponseS
truct)instance;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = new SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:33: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = new SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:34: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct_SOAPBui
lder builder = null;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:46: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_get
Version_ResponseStruct_SOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:64: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_getVersion_ResponseStruct_SOAPSeriali
zer.java:69: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct instanc
e = (SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPBuilder.java:68
: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
instance = (SabreServerBridge.client.stub.SSBridgeput_RequestStruct)in
stance;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:38: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:38: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct_SOAPBuilder bui
lder = null;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:54: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_put
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:68: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
builder = new SabreServerBridge.client.stub.SSBridge_put
RequestStructSOAPBuilder();
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:87: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:87: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:92: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_RequestStruct_SOAPSerializer.java
:92: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_RequestStruct instance = (Sab
reServerBridge.client.stub.SSBridge_put_RequestStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:28: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = new
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct();
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:39: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_put_ResponseStruct_SOAPSerializer.jav
a:44: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_put_ResponseStruct instance = (Sa
breServerBridge.client.stub.SSBridge_put_ResponseStruct)obj;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:58: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_RequestStruct _mySSBridge
getRequestStruct =
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:59: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SSBridge_get_RequestStruct();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:72: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_get_ResponseStruct _mySSBridg
e_get_ResponseStruct = null;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:76: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
(SabreServerBridge.client.stub.SSBridge_get_ResponseStruct)(
(SOAPDeserializationState)_responseObj).getInstance();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:79: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
(SabreServerBridge.client.stub.SSBridge_get_ResponseStruct)_
responseObj;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:109: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_RequestStruct _myS
SBridge_getVersion_RequestStruct =
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:110: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
new SabreServerBridge.client.stub.SSBridge_getVersion_RequestStr
uct();
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:122: cannot find symbol
symbol : class client
location: interface SabreServerBridge.client.stub.SabreServerBridge
SabreServerBridge.client.stub.SSBridge_getVersion_ResponseStruct _my
SSBridge_getVersion_ResponseStruct = null;
^
src\SabreServerBridge\client\stub\SSBridge_Stub.java:126: cannot find symbol
symbol : class client
locat -
Web Service-Client for stateful session EJB container
Do you know, how to write a Web Service-Client to connect a stateful session EJB container?
A stateful session EJB container ist created with Web Logic 8.1.
Message was edited by n.t.c at Dec 14, 2004 6:09 AMPedja thanks for reply.
I still dont understand what is wrong with my example.
The first peace of the code i wrote (getting the reference to the remote interface object) works pretty well, and even more it is produced automatically by JDeveloper, so why we cant get a reference to the local interface object the same way?
Certanly we should use the local interface for getting access to the resource functioning under the same local jvm and i think it doesnt metter wich app server we really use wls or oas or others
Thanks. Alex. -
Dynamic Logical Port for Web Service Client
Hi *!
We want to use the same Web Service Client code with different Web Service instances running on different systems. So I need to configure the logical port (especially the URL of the endpoint) dynamically at runtime.
Please give me a hint, how this is done.
(we are using WebAS 6.40 SP7)...
Thanks in advance,
FrankHi Frank,
I hope you were able to solve your issue on you own in the meantime.
I was looking for the answer to this question today. This was the only thread I found on SDN. Unfortunately, it did not contain an answer yet. I was able to figure out a way to set the endpoint address dynamically after searching help.sap.com and after examining the interfaces offered by the Stub (logical port in this case) classes.
Here's an extract from my code:
// Connect to JNDI context
InitialContext ic = new InitialContext();
// Get reference to web service proxy from JNDI context
Z_MSC_GET_SCHEDULE_WSDService service =
(Z_MSC_GET_SCHEDULE_WSDService) ic.lookup("wsclients/proxies/iot-online.de/msc~srv_ejb~proxy/de.iot_online.msc.proxy.ScheduleReaderProxy");
// Get reference to logical port from web service proxy
Z_MSC_GET_SCHEDULE_WSD logicalPort = service.getLogicalPort();
// Set URL of web service Endpoint
logicalPort._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "http://<FQDN>:8010/sap/bc/srt/rfc/sap/Z_MSC_GET_SCHEDULE_WSD?sap-client=100");
This is explained on
http://help.sap.com/saphelp_nwce10/helpdata/en/45/113a1221337249e10000000a155369/frameset.htm
You can also set the credentials (username / password) with the method _setProperty.
Best regards
Christian -
Problem creating web service client using WSM Policies
Hello everyone,
I'm trying to make a simple java client to a Web Service secured using a WSM 11gR1 policy (from Soa Suite 11.1.1.2.0). The policy on the server side is oracle/wss11_x509_token_with_message_protection_service_policy which I attached via the Weblogic Admin Console. To implement the client I'm trying to follow the instructions from this documentation: http://download.oracle.com/docs/cd/E15523_01/web.1111/e13713/owsm_appendix.htm#WSSOV386 section "Policy Configuration Overrides for the Web Service Client" and also I'm using OEPE 11.1.1.3.0 (Eclipse 3.5.0) to develop the client. The only weblogic jar I've added to the build path is the weblogic.jar . Unfortunately, the oracle.wsm.security.util.SecurityConstants.ClientConstants interface (used in the example A-6) is not included in this jar and I have no idea what other libraries should I include in order to follow the example. I tried manualy adding other jars but without success. In fact I found one jar which includes this interface, the wsm-secpol.jar but it does not have the properties described in the documentation, so I guess it's not the right jar, and also I don't think this is the right procedure since there might be another dependent jars. So I would like to know what libraries exactly I should add to the build path (or some other procedure if you noticed I'm doing anything wrong)
Thank you !Hi
I am having the same problem almost where i wrote a client to comsume a JWS server in https. Where the server is setup to require a certificate to connect to.
My code:
public static void main(String[] args) {
try {
DataBaseSyncServerImpl port = new DataBaseSyncServerImplService().getDataBaseSyncServerImplPort();
int number1 = 20;
int number2 = 10;
System.out.printf("Invoking divide method(%d, %d)\n", number1, number2);
double result = port.divide(number1, number2);
System.out.printf("The result of dividing %d and %d is %f.\n\n", number1, number2, result);
when run this code throw
run:
[java] Invoking divide method(20, 10)
[java] Exception in thread "main" javax.xml.ws.WebServiceException: HTTP transport error: javax.net.ssl.SSLHandshak
eException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCert
PathBuilderException: unable to find valid certification path to requested target
Does any one know how can I solve this problem or how can I make the client be able to use self signed certificates. Any help is greatly apprecited. Thanks -
hi ,
i am just using EJb in my Application
just created an SessionBean and with Local interface in it i am getting this wierd exception with weblogic NetBeans and eclipse also
weblogic.ejb.container.compliance.ComplianceException: No business interface, component interface or web service endpoint interface found for Session Bean SessionEJB
weblogic.ejb.container.compliance.ComplianceException: No business interface, component interface or web service endpoint interface found for Session Bean SessionEJB
at weblogic.ejb.container.compliance.SessionBeanClassChecker.checkInterfacesExist(SessionBeanClassChecker.java:177)
at weblogic.ejb.container.compliance.Ejb30SessionBeanClassChecker.checkInterfacesExist(Ejb30SessionBeanClassChecker.java:27)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:331)
at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:280)
at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:789)
at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:222)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:461)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:428)
at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:437)
at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:795)
at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:683)
at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1254)
at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:517)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:45)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:321)
at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:280)
at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:789)
at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:222)
at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:461)
Truncated. see log file for complete stacktrace
>Hi Rajendar,
I think the problem with having empty interfaces, or interfaces without methods for EJBs, is that they don't really make "sense". After deploying your EJB, a client application will use JNDI or dependency injection to access your EJB. So in your case it will look something like this
@EJB
mytestSSBLocal myejb; //(In this case we are using the local interface)
In the second step, you will want to do something will your EJB, but since mytestSSBLocal doesn't define any methods, there is nothing you can do with your ejb.
The Exception is telling you that weblogic couldn't find a complaint interface for your EJB.
best regards, Nicolas -
How to deploy web service/client on websphere
Hi,
I have developed a web service client on Jdeveloper 10.1.3.1.0 and I deployed it on the embeded OC4J and OAS and it worked fine. BUT when I packaged it as EAR file and deployed it on websphere 6.0 {the production enviroment at the client side} It gave me NoClassForService00.
And in websphere application server it didn't recognize it as Web service client.
Any one faced this problem b4. PLZ advice.
ThnxHi Amol,
Thank you very much for replying my question. The contents in my application.xml are:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application>
<display-name>testwsapp</display-name>
<description>J2EE Application testwsapp</description>
<module>
<web>
<web-uri>testws_War.war</web-uri>
<context-root>testws</context-root>
</web>
<alt-dd>testws_War.xml</alt-dd>
</module>
</application>
The contents in jaxrpc-ri-runtime.xml are:
<?xml version="1.0" encoding="UTF-8"?>
<endpoints xmlns='http://java.sun.com/xml/ns/jax-rpc/ri/runtime' version='1.0'>
<endpoint
name='testws'
interface='contactws.testwsGenServer.testwsRPC'
implementation='contactws.testwsGenServer.testwsRPCBean'
tie='contactws.testwsGenServer.testwsRPC_Tie'
model='null'
wsdl='/WEB-INF/testws.wsdl'
service='{urn:testws/wsdl}Testws'
port='{urn:testws/wsdl}testwsRPCPort'
urlpattern='/testws'
</endpoint></endpoints>
I tried to access and check the web service using:
http://servername:port/testws/testws
The first testws is contextroot named and the second testws is url pattern, which was exactly like what you mentioned but I got "404 Not Found" error.
By the way, using the same ear to deploy to Windows Sun ONE App. Server 7 env. and then using the same url, I can access the web service. I am wondering if there is any special for deploying Web Service on Unix Sun ONE app. Server 7 env. or I missed something?
I hope I can hear from you soon.
Thank you again,
Jackie -
XML Parser Error while creating Web service Client using JAX RPC
hello evryone,
Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
wscompile -gen:client -d build -classpath build config-wsdl.xml
here im getting Error:
error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
Please help me out.
Many thanks in advance,
KaceeCan i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.
-
How to prevent downloading wsdl in weblogic web service client
Hi,
I get a problem regarding weblogic web service client. My working environment:
weblogic server 8.1
Windows XP SP2
JDK 1.4
I use the weblogic tool to generate the client jar file from the wsdl file.
<target name="generate-client">
<clientgen wsdl="ACCESS.wsdl"
packageName="xxxxxx.client"
clientJar="${client}/${AccessClient_jar_file}"
keepGenerated="true"
saveWSDL="true"
/>
<javac srcdir="${source}"
destdir="${client}"
includes="**/AccessClient.java">
<classpath>
<pathelement path="${client}/${AccessClient_jar_file}"/>
</classpath>
</javac>
</target>
After that, I create a client java file to invoke the service deploy in the server.
public static void main(String[] argv)
throws Exception
int transactionId = 100;
int id = 1000;
// Setup the global JAXM message factory
System.setProperty("javax.xml.soap.MessageFactory", "weblogic.webservice.core.soap.MessageFactoryImpl");
// Setup the global JAX-RPC service factory
System.setProperty( "javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
AccessServicePorts ws = new AccessServicePorts_Impl(argv[0]);
AccessService port = ws.getAccessService();
// Resource - create
Resource resource = new Resource();
resource.setRES_CD("Create ResCo");
resource.setCODE_CODE("code_cod");
resource.setRES_TYPE("Resource typ");
resource.setCOMMON_FIELD(common);
AccessDefaultResult resultItems = port.createResource(resource);
System.out.println("createResource : " + resultItems);
I find that this web service client always issue 2 http requests to invoke an web service method deployed in server.
1st http reqeust:
GET /AccessEpol/EpolServiceSoap?WSDL HTTP/1.1
User-Agent: Java/1.4.2_08
Host: 127.0.0.1:8001
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
the return result is the wsdl downloaded from the server.
2nd http request is the real web service request.
The question is how could I eliminate the 1st http request because it's really unnecessary. I use other web service client like Axis 1.x, Axis client never has the http request to download the wsdl from the server.
I read through weblogic web service document. It do mentions that put saveWSDL="true" in the clientgen ant task. the default value for saveWSDL is true already. I did try saveWSDL="false" also. None of them can eliminate the 1st http request.
appreciate for any answer my question?Hi David,
thanks for the reply.
More or less I agree some points you mentioned above.
I did use Axis 1.x to test the inter-operability. The web service was developed in Weblogic 8.1 and is a part of an existing web application. It will be merged to existing application deployed in weblogic 8.1.
I also program the web service client to test the web service.
The implementation of the server and client will be handed over the project team and training for supporting or continuous development have to be conducted by me. So I don't like to use two types of technologies which will make thing complex.
I found this issue when I tried to protected the web service endpoint, eg http://localhost:7001/epol/service, using the web application Basic mechanism. The wsdl URL http://localhost:7001/epol/service?WSDL is also protected in this case. Unfortunately the username/password pair is not sent to the server when the weblogic client download the WSDL from the server. In this case, the client failed and throw exception. -
Error creating a web service client from th WSDL document (soamanager)
Hello everyone,
we have generate with the wizard a web-service using the function module BAPI_CONTROL_RECIPE_GET_LIST. Then we have generated with SOAMANAGER the end point. As test, we have used a web-service explorer of Eclispe and we can retrieve without problems the data.
Then we wanted to generate the web-servcie client with Eclipse Galileo (3.5.0) wiith the server GlassFish v2.1 Java EE 5 we first installed the WSIT jars, in order to support WS-RM protocol
We have started the generation based on the document obtainend within the soamanager under the "Open WSDL document for selected binding" link.
We have tried it several times and we always got the following error is:
IWAB0399E Error in generating Java from WSDL: WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy):
faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.: <br>
WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
Do you know if we took the right document in order to generate the web-service client? Do we need to have some specifics settings in the configurations of th endpoint? (provider security, transport settings, etc...?)
If needed, or if someone would be nice enough to try to generate it on its side, I can post here the whole wsdl document, but due to its length, I first wait your comments.
Thanks a lot in advance for your feed-back
best regards
Pierre-André
addtions:
maybe this should have been better posted within the forum Service-Oriented Architecture than standards?
I forgot to mention the following threads, which seems to me to be somehow in this direction. But I do not get really how I could use them, or how is is releated.
Edited by: Pierre-andre Jacquod on Sep 23, 2009 4:02 PMHi,
I am facing the same issue while generating the client java class from IBM RAD 6.0.
Here is the error I am getting.
WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
[java] at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
[java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
[java] at java.lang.Thread.run(Thread.java:571)
Please guide me to resolve this issue.
Thanks & Regards,
Vijay -
Oracle Database Web Service Client using UTL_DBWS :: ORA-29532 Error
Hi,
I have the Oracle Database 10.2.0.1.0 :-
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionI have written a simple Web Services Client using the classes gfrom the UTL_DBWS package. I loaded the JAR file dbwsclient.jar in the SYS Schema and I am trying to use it in the USF Schema.
However, I have hit this error & I ma unable to proceed :-
SQL> select get_stock_price from dual;
select get_stock_price from dual
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.IllegalAccessException: javax.xml.rpc.ServiceException:
java.security.AccessControlException: the Permission
(java.lang.RuntimePermission getClassLoader) has not been granted to USF. The
PL/SQL to grant this is dbms_java.grant_permission( 'USF',
'SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
ORA-06512: at "USF.UTL_DBWS", line 193
ORA-06512: at "USF.UTL_DBWS", line 190
ORA-06512: at "USF.GET_STOCK_PRICE", line 17Can you please help me with this ?
Regards,
SandeepHi,
The error message said
the Permission(java.lang.RuntimePermission getClassLoader) has not been granted to USF.
I'd follow the suggestion
The PL/SQL to grant this is dbms_java.grant_permission( 'USF','SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
In case you have not done so, consult the Callout Users Guide @
http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
Kuassi http://db360.blogspot.com -
Deploying Web Service clients to earlier versions of AS
Hello,
I'm using JDeveloper to create web service proxy for existing service to use in my Web Service client. For development, I'm using JDeveloper 10.1.3.3, for deployment of client application I'm using Application Server 10.1.3.0.
The problem is that AS 10.1.3.0 contains other versions of the libraries, for example, wsclient.jar, so, there's an error using Web Service Proxy (stub) as method setSOAPVersion() doesn't exist.
The question is how can I use generated stub with earlier versions of Application Server.
I've tried some things, but they didn't work. Maybe I did something wrong and step-by-step guidelines to deploy application are needed - I hope, it could be useful not only for me.
So, I found JDev 10.1.3 Release Notes (http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html) and the following abstract:
Workaround for URL / WS Data Control Apps When Deploying to Third Party Application Servers or Oracle Application Server 10.1.2 (4931009)
1. Copy the following JAR files to your target application server along with the rest of the ADF installed JAR files. The following JAR files are available under your JDeveloper's home directory.
bc4j/jlib/dc-adapters.jar
bc4j/jlib/adf-connections.jar
j2ee/home/lib/http_client.jar
webservices/lib/wsdl.jar
webservices/lib/orajaxr.jar
webservices/lib/orawsrm.jar
webservices/lib/wsclient.jar
webservices/lib/orasaaj.jar
webservices/lib/xsdlib.jar
webservices/lib/mdds.jar
jlib/osdt_core.jar
jlib/osdt_cert.jar
jlib/osdt_xmlsec.jar
jlib/osdt_wss.jar
jlib/osdt_saml.jar
jlib/ojpse.jar
jlib/oraclepki.jar
webservices/lib/wssecurity.jar
webservices/lib/orawsdl.jar
j2ee/home/jazncore.jar
2. Shutdown the application server and modify the application server's class path to include all of the JAR files that were extracted from the archive. Please refer to the application server documentation for details on how to modify the class path.
3. Restart the application server. You are now ready to deploy / run the application successfully.
So, I've created a new Shared Library with Enterprise Manager, uploaded all this files and, deploying application, checked this library too. This didn't help.
Thanks in advance, ValeriyHi Valeriy,
I have exactly the same problem. Have you been able to resolve this yet?
Thanks
Stu -
Setting timeout of web service client
I created a web service client using the java proxy for
a web service by running my web service in weblogic workshop test browser and by using
the jar file created by clicking on "Java Proxy" button.
i am calling my web service my adding code similar to this and it works
HelloWorld_Impl proxy = new HelloWorld_Impl();
HelloWorldSoap soapProxy = proxy.getHelloWorldSoap();
But, i am not sure how to set the timeout of my client programatically.
Is there a way to do this ?
Any help is greatly appreciated.Anyway,
I figured it out myself, by looking at other posts and applying some reflection API
HelloWorld_Impl proxy = new HelloWorld_Impl();
HelloWorldSoap soapProxy = proxy.getHelloWorldSoap();
// I learnt that this soapProxy is infact an object of HelloWorldSoap_Stub class
HelloWorldSoap_Stub myStub = (HelloWorldSoap_Stub)proxy.getHelloWorldSoap();
BindingInfo bInfo = (BindingInfo)myStub._getProperty("weblogic.webservice.bindinginfo");
bInfo.setTimeout(5); //secs
myStub._setProperty("weblogic.webservice.rpc.timeoutsecs", "5"); // secs
// finally you can call the methods of the web service
soapProxy.Hello();
Please be aware that, upon time out, you would get an exception : <class = java.rmi.RemoteException
cause = javax.xml.rpc.soap.SOAPFaultException: javax.xml.rpc.JAXRPCException:java.net.SocketTimeoutException: Read timed out.>
Also, my env : Weblogic 8.1 SP4 -
Problems - WLS 10.0 web service client
I'm having a few issues with WLS 10.0 web service client.
I generated a service control from the WSDL. The service is provided by a 3rd party (non-WLS) at another company. I generated the control within my web project and it's deployed as part of the web application. I experience the following problems with the service control API:
1) The methods setKeyStore(), setTrustStore(), setClientCert() all seem to be ignored - the server always uses the values set in the server's environment definition. Note - the setEndpointAddress() seems to work.
2) The client request does not set the 'Content-Type' HTTP header correctly (it's set to text/html) - I have no way to override this via the service control API (that I can see).
3) I don't see any way/place to turn on more detailed tracing of what's going on internally with the service control invocation - is there a way to enable a detailed trace log of what is happening within the service control?
Note: I'm able to call the web service via the test client (after importing the 3rd party server cert into my local cacerts).
Thanks,
[email protected]Thank you for the reply..
But im still geting the same error. I have tried to include all the libraries in JWSDP pack but still.. I have managed to narrow down the place where the error occures.. It actually happens when I try to get the WebService Client Servant which is located in the package LSC:
---> LSC.LWServiceGenClient.LWS_Impl service = new LSC.LWServiceGenClient.LWS_Impl();
LSC.LWServiceGenClient.LWSServantInterface lagerServiceServant = LSC.LWServiceGenClient.LWSServantInterface_Stub)service.getLWSServantInterfacePort();
return lagerServiceServant;
Could something be wrong with the way I package the Jar? I'm using Sun One Studio and have tried including the 5 packages the application consists of; I have tried including just the files; moving the main class to <root>.. Still same problem..
Or could there be some different fundemental thingy I have forgotten ??
thanks
Aqoi
Maybe you are looking for
-
Which browser is better to use as an option to Safari and how do you download it?
Which browser is better to use as an option to Safari and how do you safely download it? Thanks
-
After installing Maverick on my Macbook it won't reboot
After installing Maverick on my Macbook it won't reboot. It fully downloaded and intalled fine and once it had finished intalling, a pop up message said that my macbook with restart in 10 seconds. i restarted my macbook but it never did anything more
-
Missing file icuuc42.dll
Photoshopt cc starts with error. missing file icuuc42.dll. Can't see any way to repair missing file using Creative Cloud? This appeared just after the last update. Thanks, Bill
-
JDBC load balancing with non RAC replicated instances
Hi, The thin JDBC load balancing feature only works with RAC clusters or it can be used with two non RAC replicated instances using the same service name? Thanks, Ezio.
-
Cyberlink Recovery Disk Utility Play-by-Play?
I have been having quite a time attempting to burn a Cyberlink bootable CD for Win 7 Recovery to a new HDD on a Pavilion dv6-3155dx. (The new HDD is a Seagate 750 GB @ 7200rpm). I've tried the burn on XP, Win 7 and Win 8 with curiously varied results