Compiling web Service client
Folks,
I'm learning about WS and start building a client to JIPNews WS(http://www.xmethods.com/ve2/ViewListing.po?key=uuid:92D76CB9-BF99-5F07-BE1E-53C344F6CDAA)
I wrote a config.xml(below), ran wscompile -gen config.xml and wrote a client(Teste.java, source below too).
The compiler return to me the following error when i invoke it like this:
D:\temp\teste\teste>javac Teste.java -classpath .;C:\jwsdp-1.3\jaxrpc\lib\jaxrpc-api.jar
Teste.java:13: cannot resolve symbol
symbol : class JIPNewsService_Impl
location: class teste.Teste
Stub stub = ( Stub ) ( new JIPNewsService_Impl().getJIPNewsPort() );
^ (This is pointing to JIPNewsService_Impl )
Teste.java:17: cannot resolve symbol
symbol : class JIPNews
location: class teste.Teste
JIPNews jip = ( JIPNews ) stub;
^
Teste.java:17: cannot resolve symbol
symbol : class JIPNews
location: class teste.Teste
JIPNews jip = ( JIPNews ) stub;
^
3 errors
Any hint?
Thanks in advance
Andre
[CONFIG.XML]
<?xml version="1.0" ?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="http://www.javaportal.it/kservices/JIPNews?wsdl" packageName="teste"/>
</configuration>
[TESTE.JAVA]
package teste;
import javax.xml.rpc.Stub;
public class Teste{
public void main( String a[] ){
if ( a.length < 1 )
uso( "Como usar: java Teste <int>" );
Stub stub = ( Stub ) ( new JIPNewsService_Impl().getJIPNewsPort() );
stub._setProperty( javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,
"http://www.javaportal.it/kservices/JIPNews" );
JIPNews jip = ( JIPNews ) stub;
System.out.println( jip.giveMe( Integer.parseInt( a[0] ) ) );
private void uso( String msg ){
System.out.println( msg );
System.exit( 0 );
[Tree cmd in folder]
D:.
│ config.xml
│
└───teste
JIPNews.class
JIPNewsService.class
JIPNewsService_Impl.class
JIPNewsService_SerializerRegistry.class
JIPNewsTO.class
JIPNewsTO_SOAPBuilder.class
JIPNewsTO_SOAPSerializer.class
JIPNews_giveMeTO_EN_RequestStruct.class
JIPNews_giveMeTO_EN_RequestStruct_SOAPSerializer.class
JIPNews_giveMeTO_EN_ResponseStruct.class
JIPNews_giveMeTO_EN_ResponseStruct_SOAPBuilder.class
JIPNews_giveMeTO_EN_ResponseStruct_SOAPSerializer.class
JIPNews_giveMeTO_RequestStruct.class
JIPNews_giveMeTO_RequestStruct_SOAPSerializer.class
JIPNews_giveMeTO_ResponseStruct.class
JIPNews_giveMeTO_ResponseStruct_SOAPBuilder.class
JIPNews_giveMeTO_ResponseStruct_SOAPSerializer.class
JIPNews_giveMe_EN_RequestStruct.class
JIPNews_giveMe_EN_RequestStruct_SOAPSerializer.class
JIPNews_giveMe_EN_ResponseStruct.class
JIPNews_giveMe_EN_ResponseStruct_SOAPBuilder.class
JIPNews_giveMe_EN_ResponseStruct_SOAPSerializer.class
JIPNews_giveMe_RequestStruct.class
JIPNews_giveMe_RequestStruct_SOAPSerializer.class
JIPNews_giveMe_ResponseStruct.class
JIPNews_giveMe_ResponseStruct_SOAPBuilder.class
JIPNews_giveMe_ResponseStruct_SOAPSerializer.class
JIPNews_Stub.class
Teste.java
Hi ,
U need to add the following files to the classpath:
dom.jar
j2ee.jar
jaxr-impl.jar
jaxrpc-impl.jar
saaj-impl.jar
xalan.jar
xercesImpl.jar
<current dir >
All these files r in lib dir of j2ee installation
u need to compile by using javac teste\teste.java
Hope it will work
Similar Messages
-
Trouble compiling web service client file
Hi,
I am trying to deploy a test web services implementation on JBoss 3.2.1 and Axis 1.1RC2. The problem is, I cannot even compile my client code (the one that invoke the web services)...it seems that the java compiler cannot locate the following packages:
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import javax.xml.namespace.QName;
even though I have set my classpath (in the environment var part of my Win2k box) to: C:\axis-1_1RC2\lib\axis.jar;C:\axis-1_1RC2\lib\jaxrpc.jar;C:\axis-1_1RC2\lib\saaj.jar;C:\axis-1_1RC2\lib\commons-logging.jar;C:\axis-1_1RC2\lib\commons-discovery.jar;C:\axis-1_1RC2\lib\wsdl4j.jar;C:\axis-1_1RC2\lib\;C:\axis-1_1RC2\[rest of classpath truncated]
Has anyone experienced something similar? I'll award Duke dollars to the first person getting the right solution. Thanks!
Here are the error messages:
C:\web_clients>javac DataUserClient.java
DataUserClient.java:1: package org.apache.axis.client does not exist
import org.apache.axis.client.Call;
^
DataUserClient.java:2: package org.apache.axis.client does not exist
import org.apache.axis.client.Service;
^
DataUserClient.java:3: package javax.xml.namespace does not exist
import javax.xml.namespace.QName;
^
DataUserClient.java:26: cannot resolve symbol
symbol : class Service
location: class DataUserClient
Service myWebServ= new Service(url, "StandardPersonData");
^
DataUserClient.java:26: cannot resolve symbol
symbol : class Service
location: class DataUserClient
Service myWebServ= new Service(url, "StandardPersonData");
^
DataUserClient.java:27: cannot resolve symbolHi,
I had the same problem with my client too. The problem is with your classpath. You have to set it at the command prompt as well as editing the setclasspath.bat file. The full path to where you libs are stored is required. eg:
set classpath=%classpath%;C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\jaxrpc.jar...etc
I tried to set the classpath using %axisDirectory%\lib\axis.jar ...etc but it didnt work for whatever reason. The above method seems to eliminate all errors. At the moment im just running axis 1.1 under tomcat 4.1.
Hope that helps :-) -
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 in Workshop 10.1
Anybody have any advice on the best way to create a Web service CLIENT in Workshop 10.1 ?
I've been looking around for a couple of days. I understand how to run clientgen from the command line. That works fine.
I have looked at the tutorial for using 'Web service controls' also. As far as I can tell, though, in Workshop 10.1 I can only generate such a control nside another Web service, as in the tutorial. In other types of classes, the Insert option is not available on the menu I pull up by right-clicking in the source. I hope I am missing something obvious.
My goal is to call Web services from other applications inside Workshop. The other applications may be Web applications or they may not. Most of the time they will not be other Web services.
Thanks in advance for any help !!Thanks Vimala.
I am able to create the JAR using clientgen, and I can call the Web service after that from the command line. All of that depends upon various environment variables being set with setDomainEnv.cmd and it works fine.
I would like to create a Java project in Workshop 10.1 and use that JAR created with clientgen, but that does not work - I get an Exception wqhen I try to run, although it all compiles :
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/descriptor/BasicDescriptorManager
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.kohls.example.client.SimpleClient.main(SimpleClient.java:29)
The classes are al lthere, or it would not compile, so I assume I am missing some of the scaffolding around calling the Web service. I just created a normal Java project - maybe that's wrong ?
Edited by ethan_kohls at 01/18/2008 12:44 PM
Edited by ethan_kohls at 01/18/2008 12:44 PM -
Issue with creating Web Service Client using Oracle JDeveloper
Hi All,
I am trying to create a Web Service Client using Oracle JDeveloper. I set the Project compiler property to JRE 1.4
When I run the web service client, it throws me bunch of errors saying:
'Error(32,2): annotations are not supported in -source 1.4'
I am wondering why JDeveloper is using annotations even after I set the compiler property to 1.4
I am following this link to create the webservice client:
http://www.oracle.com/technetwork/developer-tools/forms/webservices-forms-11g-094111.html
Any help in this regard would be greatly appreciated.
Thanks,
Scott.Dear Shay,
Thanks for your prompt response.
You are right. JDeveloper 11g uses JDK 6 style annotations for the clients it creates. But you can change the JRE Version used at compile time by following these steps:
1. In the Applications Navigator, right-click the Project Nanem node and select Project Properties... from the context menu.
2. Select the Compiler node and check the Source Files and Generated Class Files dropdown lists. You may change these versions depending on the version of the JRE you are using with Forms to ensure that the compiled
classes from JDeveloper can be read by the JRE used by Form.
So I selected JDK version 1.4 there.
Sorry that I did not mention that we are using Oracle Forms 10g. That is the reason I selected JDK 1.4
Thank you.
Scott. -
Timeout error at J2EE Web Service client
i have a .NET web service. a J2EE web service client deployed on Websphere application server 5.1 is invoking it. some services on .NET end take a long time to return a value. in such cases, the following error occurs on J2EE end. please suggest a solution.
faultCode: Server.generalException
faultString: java.net.SocketTimeoutException: Read timed out
faultActor: null
faultDetail:
java.net.SocketTimeoutException: Read timed out
at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:150)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:200)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:685)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:611)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:441)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:662)Hi, am also getting time out .. excepiton in client
i added the following code inside stub class constructer...
System.out.println("GET TIME OUT ::::"+super.getTimeout());
super.setTimeout(77777);
System.out.println("GET TIME OUT AFTER SET::"+super.getTimeout());
compilation success. However am getting runtime exception after the sop.
GET TIME OUT ::::0
javax.xml.rpc.ServiceException: WSWS5014E: Error instantiating generated Stub class.
can you please tell me how u solved the issue.
Thanks
Bogi -
Doubt about Web Service Client
Hi,
I'm triyng consuming a WSDL file. When I create a Web Service Client with the URL of the WSDL, the compilation shows this message:
init:
wscompile-init:
Created dir: C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\classes
Created dir: C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc
IISelector-client-wscompile:
Copying 1 file to C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\wsdl
advertencia: Procesando la operación "GeneraTurno" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
advertencia: Procesando la operación "ActivaTurno" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
advertencia: Procesando la operación "EliminaTurno" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
advertencia: Procesando la operación "DevOcupacion" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
advertencia: Procesando la operación "DevTurnosADesp" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
advertencia: Procesando la operación "Helloword" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
advertencia: Procesando la operación "DevElementosDigiturno" que no se ajusta a WS-I con el estilo RPC y la codificación SOAP
BUILD SUCCESSFUL (total time: 3 seconds)
What does it mean?, and how can I solve it?
Thanks in advance.When I build the project shows this warnings:
init:
deps-jar:
wscompile-init:
IISelector-client-wscompile:
web-service-client-generate:
Created dir: C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\empty
Compiling 63 source files to C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\classes
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_RequestStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_RequestStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_ResponseStruct.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_ResponseStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_ActivaTurno_ResponseStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_RequestStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_ResponseStruct.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_ResponseStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevElementosDigiturno_ResponseStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_RequestStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_ResponseStruct.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_ResponseStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevOcupacion_ResponseStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_RequestStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_RequestStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_ResponseStruct.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_ResponseStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_DevTurnosADesp_ResponseStruct_SOAPSerializer.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_EliminaTurno_RequestStruct.java:3: warning: unmappable character for encoding UTF-8
// JAX-RPC Standard Implementation (1.1.3, compilaci?n R1)
C:\Documents and Settings\ooliveros\Mis documentos\NetBeansProjects\Selector1\build\generated-sources\jax-rpc\selector1\IISelector_EliminaTurno_RequestStruct_SOAPBuilder.java:3: warning: unmappable character for encoding UTF-8
62 warnings -
Getting started with a web service client
I am trying to figure out how to create a web service client using NetBeans 6. I started with a class library for testing in Fitnesse. I've been using tutorials and Googling around but now I am stuck. I have added the JAX-RPC library; I am able to add a web service client to the project using the IDE; and I can view all of the objects and methods under "Web Service References" and compile the code; however, at runtime I get the error:
java.lang.NoClassDefFoundError: javax/xml/rpc/Service
at java.lang.ClassLoader.defineClass1(Native Method) ... etc.
What am I missing?
P.S., when I try to test any web service in the IDE I get an error like this:
InvocationTargetException org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:540) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:466) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:92) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:409) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) Next Exception Layer null sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:534) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:466) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:92) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:409) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986) Next Exception Layer Could not initialize class com.sun.xml.internal.messaging.saaj.soap.SAAJMetaFactoryImpl sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) java.lang.reflect.Constructor.newInstance(Constructor.java:513) java.lang.Class.newInstance0(Class.java:355) java.lang.Class.newInstance(Class.java:308) javax.xml.soap.FactoryFinder.newInstance(FactoryFinder.java:38) javax.xml.soap.FactoryFinder.find(FactoryFinder.java:165) javax.xml.soap.SAAJMetaFactory.getInstance(SAAJMetaFactory.java:61) javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:127) javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:93) com.sun.xml.rpc.soap.message.SOAPMessageContext.getMessageFactory(SOAPMessageContext.java:200) com.sun.xml.rpc.soap.message.SOAPMessageContext.createMessage(SOAPMessageContext.java:131) com.sun.xml.rpc.client.StreamingSenderState. (StreamingSenderState.java:30) com.sun.xml.rpc.client.StubBase._start(StubBase.java:92) webservice.CountCheatServiceSoap_Stub.letterSolutionsMin(CountCheatServiceSoap_Stub.java:54) webservice.CountCheatServiceClient.countcheatservicesoapLetterSolutionsMin(CountCheatServiceClient.java:26) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:597) org.netbeans.modules.websvc.registry.ui.ReflectionHelper.callMethodWithParams(ReflectionHelper.java:534) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.invokeMethod(TestWebServiceMethodDlg.java:466) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg.access$500(TestWebServiceMethodDlg.java:92) org.netbeans.modules.websvc.registry.ui.TestWebServiceMethodDlg$3.run(TestWebServiceMethodDlg.java:409) org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Edited by: pjpark on Dec 26, 2007 1:33 PMI was able to get the web service client to work in Windows XP by following the same steps I was using in Windows 2003 x64. I did not need to add anything to the Class Path in XP to run the test application and execute a web service method; however, NetBeans would not give me the option to test the web method from the IDE.
I will try re-installing java and netbeans on the 64 bit server and see if that helps. -
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
-
How to Connect crystal report with multiple databases?
I Think my question is really clear I ask this because i think i already used every way logic in my head ConnectionInfo IConnectionInfo PropertyBag DataDefModel Etc i found Ludek's post about "Ras Connection Info Code" i think this will solve my case
-
Working with Raw files in Aperture
I bought a DSL are camera recently and have been shooting RAW Naturally my library is filling up with raw files My question is - when I want to export a very high quality image how do I get it out of Aperture and keep it as a large ihigh-quality imag
-
Ipod Video Sync Error "Disk not found"
I tried to sync my old ipod video to with my new itunes library so I could put add additional 20G on. But when I went to sync it, I got a red error message reading "The ipod could not be synced because the disk could not be found." Does anyone know w
-
All Apple apps quit after system update install
Installed most recent system update on a perfectly stable, happy Mac. Since then, any apple app- (mail, safari, update, address book so far) will launch and then immediately quit. I am also getting a "subpubagent unexpectedly quit" pop-up which has n
-
Adobe digital editions, downloading problem
exe files doesn't open