Help w/ wscompile
Anyone help me understand why I'm getting the errors below when I use wscompile?
build.xml
<wscompile
base="${proj.temp}/classes"
classpath="${home.jwsdp}/jaxrpc-api.jar:${home.jwsdp}/jaxrpc-impl.jar:${home.jwsdp}/jaxrpc-spi.jar"
server="true"
model="model.xml.gz"
sourceBase="${proj.temp}/gen"
keep="true"
config="${proj.etc}/config.xml"
xPrintStackTrace="true">
</wscompile>config.xml
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="HelloIF_Service"
targetNamespace="http://localhost/wsdl"
typeNamespace="http://localhost/types"
packageName="com.example.services">
<interface
name="com.example.services.HelloIF_Service"
servantName="com.example.services.HelloImpl">
</interface>
</service>
</configuration>HelloIF_Service.java
public interface HelloIF_Service extends java.rmi.Remote
public String getHello(String Hello) throws java.rmi.RemoteException;
}build output
compilews:
[echo] JWSDP: /home/public/jwsdp-1.5/jaxrpc/lib
[wscompile] RmiModeler error: java.lang.ClassNotFoundException: com$example$services$HelloIF_Service
[wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.modelPort(RmiModeler.java:685)
[wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildEncodedModel(RmiModeler.java:523)
[wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:459)
[wscompile] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
[wscompile] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
[wscompile] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)
[wscompile] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
[wscompile] at com.sun.xml.rpc.tools.ant.Wscompile.execute(Wscompile.java:746)
For future reference, please post JAXRPC related questions to [email protected] This is an actively monitored maling list. You will get responses much faster.
It looks like you did not specify the location of these classes on the wscompile classpath element.
name="com.example.services.HelloIF_Service"
servantName="com.example.services.HelloImpl">
Similar Messages
-
Help With wscompile On A config.xml
Hello,
I'm a newbie to Jax-rpc, so please bear with I'm having
difficulties compiling this config.xml:
<?xml version="1.0" encoding="UTF-8"?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service name="GetTenQService"
targetNamespace="http://localhost/getTenQ.wsdl"
typeNamespace="http://localhost/getTenQ/types"
packageName="getTenQ">
<interface name="getTenQ.JaxRpcGetTenqI"
servantName="getTenQ.JaxRpcGetTenqImpl"/>
</service>
</configuration>
I tried running >wscompile.sh -gen:both -keep -d classout -model wscmodel.xml.gz config.xml
and I'm seeing the following error message:
error: RmiModeler error: java.lang.ClassNotFoundException: getTenQ$JaxRpcGetTenqI
What am I doing wrong? Any info would be appreciated.
A.
P.S Where are the docs for coding the config.xml
and jaxrpc-ri.xml?Thanks for the reply. I was already specifying the
-cp or -classpath. Turns out when using either
option they need to be the first arg passed to
wscompile -
Help! wscompile generates inconvertible type java code?
Hi,
I am trying to create client code from Google AdWords WSDLs. I have to specify -f:explicitcontext to generate source code for <wsdlsoap:header> tag.
The generated source code has inconvertible types and cannot be compiled.
The compile error:
adwords_adgroup/ver_0_1/AdGroupInterface_Stub.java:1058: inconvertible types
found : java.lang.Object
required: long
operations.value = (long)_headerObj;
This is the command I run:
wscompile -d build/classes -s build/src -gen -keep -f:explicitcontext config.xml
This is config.xml:
<?xml version='1.0' encoding='UTF-8'?>
<configuration xmlns='http://java.sun.com/xml/ns/jax-rpc/ri/config'>
<wsdl location='https://sandbox.google.com/api/adwords/v12/AdGroupService?wsdl' packageName='com.tfmx.ws.adwords_adgroup.ver_0_1'/>
</configuration>
What is the problem and how can it be solved?
Thank you!
Dause this code . you have to pass userlogin and lookup name
Public String GetEmail(String UserLogin,String lookupcode)
String email;
try{
tcLookupOperationIntf lookupIntf = Platform.getService(tcLookupOperationIntf.class);
HashMap<String, String> lookupValues = getLookupHashMap(lookupIntf, lookupCode);
String found = lookupValues.get(UserLogin);
if (found!=null) email= "EMAIL A";
else
email= "EMAIL B";
}catch(Exception e){}
return email;
private HashMap<String, String> getLookupHashMap(tcLookupOperationsIntf lookupOperationsIntf, String lookupCode)throws tcAPIException,tcInvalidLookupException,tcColumnNotFoundException {
HashMap<String, String> lookupMap = new HashMap<String, String>();
tcResultSet resultLookupHashMap = lookupOperationsIntf
.getLookupValues(lookupCode);
int countResultLookupHashMap = resultLookupHashMap.getRowCount();
if (countResultLookupHashMap > 0) {
for (int i = 0; i < countResultLookupHashMap; i++) {
resultLookupHashMap.goToRow(i);
lookupMap.put(resultLookupHashMap..getStringValue("Lookup Definition.Lookup Code Information.Code Key"),
resultLookupHashMap.getStringValue("Lookup Definition.Lookup Code Information.Decode"));
return lookupMap;
} -
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 -
Wscompile.bat shows java help
Hello to everyone!,
I have unusual problem with my JWSDP 1.6. I am trying to run wscompile.bat on my windows XP. but instead of wscompile help or stubs generated I get java help like this:
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrumentI am waisting too much time trying to sort it out on my own, so please help me.
Cheers
MichalThanks a lot for your quick response. You was right. Now I am getting somthing diffrent:
java.io.FileNotFoundException: D:\Development\Tomcat\jakarta-tomcat-5.0.27\bin\l
auncher.xml (The system cannot find the file specified)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
243)
at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:
140)
at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.jav
a:91)
at org.apache.commons.launcher.Launcher.start(Launcher.java:390)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)Do you know what's going on ?
Take care
Michal -
Help - wscompile and oneway SOAP calls
Hi All,
I'm using wscompile to generate some stubs from a WSDL that was created using gSOAP (the intention is to have a JAXM Servlet handling gSOAP clients).
However, the wscompiler fails to generate stubs for oneway functions, with the following error:
warning: ignoring operation "OnEvent": not request-response
Is there any way to enable non request-response stub generation?
Thanks for all advice,
Damien
The WSDL file is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Service"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://location/Service.wsdl"
xmlns:tns="http://location/Service.wsdl"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://tempuri">
<types>
<schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://tempuri"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ns="http://tempuri">
</schema>
</types>
<message name="OnMessageRequest">
<part name="soapMessage" type="xsd:string"/>
</message>
<message name="OnMessageResponse">
<part name="resultValue" type="xsd:int"/>
</message>
<message name="OnEventRequest">
<part name="soapMessage" type="xsd:string"/>
</message>
<portType name="ServicePortType">
<operation name="OnMessage">
<documentation>Service definition of function ns__OnMessage</documentation>
<input message="tns:OnMessageRequest"/>
<output message="tns:OnMessageResponse"/>
</operation>
<operation name="OnEvent">
<documentation>Service definition of function ns__OnEvent</documentation>
<input message="tns:OnEventRequest"/>
</operation>
</portType>
<binding name="ServiceBinding" type="tns:ServicePortType">
<SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="OnMessage">
<SOAP:operation soapAction=""/>
<input>
<SOAP:body use="encoded" namespace="http://tempuri" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<SOAP:body use="encoded" namespace="http://tempuri" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
<operation name="OnEvent">
<SOAP:operation soapAction=""/>
<input>
<SOAP:body use="encoded" namespace="http://tempuri" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
</operation>
</binding>
<service name="Service">
<documentation>gSOAP 2.1.10d generated service definition</documentation>
<port name="ServicePort" binding="tns:ServiceBinding">
<SOAP:address location="http://location/Service.cgi"/>
</port>
</service>
</definitions>This was generated from the following simple gSOAP C header file:
int ns__OnMessage( char* soapMessage, int& resultValue );
int ns__OnEvent( char* soapMessage, void dummy );I believe JAX-RPC 1.0 does not support one-way messages. Java clients will need to build a SOAPMessage "by hand" using SAAJ.
Mike -
Wscompile does not seem to be generating a client stub
When I run the wscompile tool on a WSDL file generated using gSoap the wscompile tool does not generate the client stub. Instead it reports the following errors:
warning: ignoring port "finsvc": no SOAP address specified
warning: Service "finsvc" does not contain any usable ports
The WSDL file and the config file is shown below (please note that the IP address has been changed to 255.255.255.255 in this example but when we ran wscompile it was a valid one):
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="finsvc"
targetNamespace="http://www.xxxxxxxx.com/abcd/finsvc"
xmlns:tns="http://www.xxxxxxxx.com/abcd/finsvc"
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nsfinsvc="http://www.xxxxxxxx.com/abcd/finsvc"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/"
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema targetNamespace="http://www.xxxxxxxx.com/abcd/finsvc"
xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:nsfinsvc="http://www.xxxxxxxx.com/abcd/finsvc"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<import namespace="http://www.w3.org/2003/05/soap-encoding"/>
<complexType name="getFinStatusRequest">
<sequence>
<element name="lswebcmn-dept" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="lswebcmn-opr" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="lswebcmn-pwd" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="lswebcmn-func" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="lswebcmn-action" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="lswebcmn-option" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
<element name="lswebcmn-sessid" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="ltnum" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="getFinStatusRspLtdet">
<sequence>
<element name="ltnum" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="ltnum1" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="ltnum2" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="ltname" type="xsd:string" minOccurs="0" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfgetFinStatusRspLtdet">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="nsfinsvc:getFinStatusRspLtdet" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="nsfinsvc:getFinStatusRspLtdet[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
</types>
<message name="getFinStatus">
<part name="p-in" type="nsfinsvc:getFinStatusRequest"/>
</message>
<message name="getFinStatusRsp">
<part name="lswebcmn-status" type="xsd:int"/>
<part name="lswebcmn-statusmsg" type="xsd:string"/>
<part name="ptrLtdet" type="nsfinsvc:ArrayOfgetFinStatusRspLtdet"/>
</message>
<portType name="finsvcPortType">
<operation name="getFinStatus">
<documentation>Service definition of function nsfinsvc__getFinStatus</documentation>
<input message="tns:getFinStatus"/>
<output message="tns:getFinStatusRsp"/>
</operation>
</portType>
<binding name="finsvc" type="tns:finsvcPortType">
<SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getFinStatus">
<SOAP:operation style="rpc"/>
<input>
<SOAP:body use="encoded" namespace="http://www.xxxxxxxx.com/abcd/finsvc" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
</input>
<output>
<SOAP:body use="encoded" namespace="http://www.xxxxxxxx.com/abcd/finsvc" encodingStyle="http://www.w3.org/2003/05/soap-encoding"/>
</output>
</operation>
</binding>
<service name="finsvc">
<documentation>gSOAP 2.7.6d generated service definition</documentation>
<port name="finsvc" binding="tns:finsvc">
<SOAP:address location="http://255.255.255.255:18083"/>
</port>
</service>
</definitions>
And the config file used with the wscompile is as below:
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location="./FINSVC.wsdl"
packageName="com"/>
</configuration>Thanks for the reply...
C:\JavaProgFiles\jwsdp-2.0\jaxrpc\bin>wscompile -version
JAX-RPC Standard Implementation (1.1.3, build R1)
C:\JavaProgFiles\jwsdp-2.0\jaxrpc\bin>wscompile -verbose config.xml
error: no mode was specified, please use one of -import/-define/-gen
Usage: wscompile [options] configuration_file
Use "wscompile -help" for a detailed description of options.
C:\JavaProgFiles\jwsdp-2.0\jaxrpc\bin>wscompile -verbose -gen config.xml
warning: ignoring port "finsvc": no SOAP address specified
warning: Service "finsvc" does not contain any usable ports
[ServiceInterfaceGenerator: creating service interface: com.Finsvc]
[ServiceGenerator: creating service: com.Finsvc_Impl]
[SerializerRegistryGenerator: creating serializer registry: com.Finsvc_SerializerRegistry]
Since then we discovered the following:
When I change the following line in the WSDL it works:
From:
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap12/"
To:
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
It looks like wscompile (v1.1.3) works with Soap 1.1 WSDL only.
When using wsimport instead all seems to work fine provided we change from rpc/encoded to document/literal.
I guess that's the way to go...for Soap 1.2 -
Compilation failed while generating stub classes using wscompile
I am new to Web Services. I am trying to generate client stub classes from WSDL (provided by Seapine's with TestTarckPro Software), using wscompile. I am using JWSDP 1.6
====================================================================================
Here's the wscompile command,
wscompile -gen:client -d classes2 -keep -s classes2 -verbose config.xml
=========================================================================
Here's config.xml file
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl
location="./ttsoapcgi.wsdl"
packageName="testtrack_interface"/>
</configuration>
=====================================================================================
I am getting following compilation errors during stub generation. Following is the compilation error part of wscompile result output
[SOAPObjectBuilderGenerator: writing object builder for: saveLink]
[SerializerRegistryGenerator: creating serializer registry: testtrack_interface.Ttsoapcgi_SerializerRegistry]
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:10: ';' expected
protected java.lang.String m-strFileName;
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:11: ';' expected
protected java.lang.String m-strFixedRevision;
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:12: ';' expected
protected java.util.Calendar m-dateFixedTimestamp;
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:17: ')' expected
public CSCCFileRecord(long recordid, java.lang.String m-strFileName, java.lang.String m-strFixedRevision, java.util.
Calendar m-dateFixedTimestamp) {
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord.java:47: ';' expected
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:29: ';' expected
private static final int myM-STRFILENAME_INDEX = 1;
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:30: ';' expected
private static final int myM-STRFIXEDREVISION_INDEX = 2;
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:31: ';' expected
private static final int myM-DATEFIXEDTIMESTAMP_INDEX = 3;
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:71: not a statement
instance.setM-strFileName((java.lang.String)member);
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:87: not a statement
instance.setM-strFixedRevision((java.lang.String)member);
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPSerializer.java:96: not a statement
instance.setM-dateFixedTimestamp((java.util.Calendar)member);
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:18: ';' expected
private static final int myM-STRFILENAME_INDEX = 1;
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:19: ';' expected
private static final int myM-STRFIXEDREVISION_INDEX = 2;
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:20: ';' expected
private static final int myM-DATEFIXEDTIMESTAMP_INDEX = 3;
^
D:\TestTrackApi\classes2\testtrack_interface\CSCCFileRecord_SOAPBuilder.java:29: '(' expected
public void setM-strFileName(java.lang.String mStrFileName) {
^
15 errors
error: compilation failed, errors should have been reported
==============================================================================
My understanding is, while generating stubs, dashes or hyphens in variable names m-strFileName, m-strFixedRevision, m-dateFixedTimestamp are interpreted as minus sign and hence compilation is failing.
I tried stub generation from same WSDL with Apache Axis and it's working fine. But stub generation is failing with JWSDP. Is this a problem with this WSDL file ? Am I missing something while using wscomplie command ?
Please advise.
Thanks
Here's ttsoapcgi.wsdl file
==================================================================
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="ttsoapcgi"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="urn:testtrack-interface"
xmlns:tns="urn:testtrack-interface"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ttns="urn:testtrack-interface">
<types>
<schema targetNamespace="urn:testtrack-interface"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ttns="urn:testtrack-interface"
xmlns="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified"
attributeFormDefault="unqualified">
<element name="CDatabase" type="ttns:CDatabase"/>
<complexType name="CDatabase">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCDatabase">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CDatabase" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDatabase[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CDatabaseTable" type="ttns:CDatabaseTable"/>
<complexType name="CDatabaseTable">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCDatabaseTable">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CDatabaseTable" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDatabaseTable[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CTableField" type="ttns:CTableField"/>
<complexType name="CTableField">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCTableField">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CTableField" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CTableField[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CFieldValue" type="ttns:CFieldValue"/>
<complexType name="CFieldValue">
<sequence>
<element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCFieldValue">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CFieldValue" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CFieldValue[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CTableColumn" type="ttns:CTableColumn"/>
<complexType name="CTableColumn">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCTableColumn">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CTableColumn" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CTableColumn[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CFilter" type="ttns:CFilter"/>
<complexType name="CFilter">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCFilter">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CFilter" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CFilter[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CRecordData" type="ttns:CRecordData"/>
<complexType name="CRecordData">
<sequence>
<element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCRecordData">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CRecordData" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CRecordData[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CRecordRowSoap" type="ttns:CRecordRowSoap"/>
<complexType name="CRecordRowSoap">
<sequence>
<element name="row" type="ttns:ArrayOfCRecordData" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCRecordRowSoap">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CRecordRowSoap" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CRecordRowSoap[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CRecordListSoap" type="ttns:CRecordListSoap"/>
<complexType name="CRecordListSoap">
<sequence>
<element name="columnlist" type="ttns:ArrayOfCTableColumn" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="records" type="ttns:ArrayOfCRecordRowSoap" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<element name="CItemWithDBRecordId" type="ttns:CItemWithDBRecordId"/>
<complexType name="CItemWithDBRecordId">
<sequence>
<element name="recordid" type="xsd:long" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<element name="CItemToTrack" type="ttns:CItemToTrack"/>
<complexType name="CItemToTrack">
<complexContent>
<extension base="ttns:CItemWithDBRecordId">
<sequence>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="COrderedItemWithDBRecordId" type="ttns:COrderedItemWithDBRecordId"/>
<complexType name="COrderedItemWithDBRecordId">
<complexContent>
<extension base="ttns:CItemWithDBRecordId">
<sequence>
<element name="order" type="xsd:long" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CSystemBase" type="ttns:CSystemBase"/>
<complexType name="CSystemBase">
<complexContent>
<extension base="ttns:CItemToTrack">
<sequence>
<element name="systemname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CSystem" type="ttns:CSystem"/>
<complexType name="CSystem">
<complexContent>
<extension base="ttns:CSystemBase">
<sequence>
<element name="location" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="computermodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="computerbrand" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="cputype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="cpuspeed" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="harddisktype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="harddisksize" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="ramsize" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="romsize" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="osname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="osversion" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="videoname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="hascdrom" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="cdrommodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="hasscanner" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="scannermodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="hasmodem" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="modemmodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="hasprinter" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="printermodel" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="otherhardware" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="hasmultiplemonitors" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CSCCFileRecord" type="ttns:CSCCFileRecord"/>
<complexType name="CSCCFileRecord">
<complexContent>
<extension base="ttns:CItemWithDBRecordId">
<sequence>
<element name="m-strFileName" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="m-strFixedRevision" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="m-dateFixedTimestamp" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="ArrayOfCSCCFileRecord">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CSCCFileRecord" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CSCCFileRecord[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CFileAttachment" type="ttns:CFileAttachment"/>
<complexType name="CFileAttachment">
<sequence>
<element name="m-pFileData" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="m-strFileName" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="m-strArchiveName" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCFileAttachment">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CFileAttachment" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CFileAttachment[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CReportedByRecord" type="ttns:CReportedByRecord"/>
<complexType name="CReportedByRecord">
<complexContent>
<extension base="ttns:CItemWithDBRecordId">
<sequence>
<element name="foundby" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="datefound" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="contactinfo" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="foundinversion" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="comments" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="reproduced" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="reproducedsteps" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="standardtestconfig" type="ttns:CSystem" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="otherhardwaresoftware" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="testconfigtype" type="xsd:short" minOccurs="1" maxOccurs="1"/>
<element name="attachmentlist" type="ttns:ArrayOfCFileAttachment" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="showorder" type="xsd:short" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="ArrayOfCReportedByRecord">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CReportedByRecord" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CReportedByRecord[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CField" type="ttns:CField"/>
<complexType name="CField">
<complexContent>
<extension base="ttns:CItemWithDBRecordId">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CStringField" type="ttns:CStringField"/>
<complexType name="CStringField">
<complexContent>
<extension base="ttns:CField">
<sequence>
<element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CIntegerField" type="ttns:CIntegerField"/>
<complexType name="CIntegerField">
<complexContent>
<extension base="ttns:CField">
<sequence>
<element name="value" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CDecimalField" type="ttns:CDecimalField"/>
<complexType name="CDecimalField">
<complexContent>
<extension base="ttns:CField">
<sequence>
<element name="value" type="xsd:double" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CBooleanField" type="ttns:CBooleanField"/>
<complexType name="CBooleanField">
<complexContent>
<extension base="ttns:CField">
<sequence>
<element name="value" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CDateField" type="ttns:CDateField"/>
<complexType name="CDateField">
<complexContent>
<extension base="ttns:CField">
<sequence>
<element name="value" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CDateTimeField" type="ttns:CDateTimeField"/>
<complexType name="CDateTimeField">
<complexContent>
<extension base="ttns:CField">
<sequence>
<element name="value" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CDropdownField" type="ttns:CDropdownField"/>
<complexType name="CDropdownField">
<complexContent>
<extension base="ttns:CField">
<sequence>
<element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="dropdownValues" type="ttns:ArrayOfCFieldValue" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CVersionField" type="ttns:CVersionField"/>
<complexType name="CVersionField">
<complexContent>
<extension base="ttns:CField">
<sequence>
<element name="value" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="ArrayOfCField">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CField" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CField[]"/>
</restriction>
</complexContent>
</complexType>
<complexType name="ArrayOfstring">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="xsd:string[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CDefectEvent" type="ttns:CDefectEvent"/>
<complexType name="CDefectEvent">
<complexContent>
<extension base="ttns:CItemWithDBRecordId">
<sequence>
<element name="user" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="date" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="notes" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="eventaddorder" type="xsd:short" minOccurs="1" maxOccurs="1"/>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="parenteventid" type="xsd:long" minOccurs="1" maxOccurs="1"/>
<element name="attachmentlist" type="ttns:ArrayOfCFileAttachment" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="fieldlist" type="ttns:ArrayOfCField" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="resultingstate" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="hours" type="xsd:double" minOccurs="1" maxOccurs="1"/>
<element name="assigntolist" type="ttns:ArrayOfstring" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="ArrayOfCDefectEvent">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CDefectEvent" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDefectEvent[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CDefectEventDefinition" type="ttns:CDefectEventDefinition"/>
<complexType name="CDefectEventDefinition">
<sequence>
<element name="name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="user" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="datetime" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="notes" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="resultingState" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="resultingStateValues" type="ttns:ArrayOfCFieldValue" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="fileattachments" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="timeTracking" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="timeSumOfAll" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="timeHoursSinceLast" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="newAssignment" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="releaseNotes" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="customFields" type="ttns:ArrayOfCField" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="ArrayOfCDefectEventDefinition">
<complexContent>
<restriction base="SOAP-ENC:Array">
<sequence>
<element name="item" type="ttns:CDefectEventDefinition" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
<attribute ref="SOAP-ENC:arrayType" WSDL:arrayType="ttns:CDefectEventDefinition[]"/>
</restriction>
</complexContent>
</complexType>
<element name="CDefect" type="ttns:CDefect"/>
<complexType name="CDefect">
<complexContent>
<extension base="ttns:CItemToTrack">
<sequence>
<element name="defectnumber" type="xsd:long" minOccurs="1" maxOccurs="1"/>
<element name="summary" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="state" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="disposition" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="type" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="priority" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="product" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="component" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="reference" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="severity" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="enteredby" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="dateentered" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="locationaddedfrom" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="datetimecreated" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="datetimemodified" type="xsd:dateTime" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="createdbyuser" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="modifiedbyuser" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="actualhourstofix" type="xsd:double" minOccurs="1" maxOccurs="1"/>
<element name="reportedbylist" type="ttns:ArrayOfCReportedByRecord" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="eventlist" type="ttns:ArrayOfCDefectEvent" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="pSCCFileList" type="ttns:ArrayOfCSCCFileRecord" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="customFieldList" type="ttns:ArrayOfCField" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="CTask" type="ttns:CTask"/>
<complexType name="CTask">
<complexContent>
<extension base="ttns:CItemToTrack">
<sequence>
<element name="status" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="priority" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="summary" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="description" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="datedue" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="dateassigned" type="xsd:date" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="versiondue" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="assignedto" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="assignedby" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="assigneddefect" type="xsd:long" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<element name="PhoneNumber" type="ttns:PhoneNumber"/>
<complexType name="PhoneNumber">
<sequence>
<element name="numbertype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="phonenumber" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<element name="CUser" type="ttns:CUser"/>
<complexType name="CUser">
<complexContent>
<extension base="ttns:CItemToTrack">
<sequence>
<element name="firstname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="lastname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="usergroupname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="company" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="emailtype" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="emailaddress" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="isactive" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="iscustomer" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="isglobal" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="isactiveglobal" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
<element name="userLicense" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="password" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="loginname" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="phoneone" type="ttns:PhoneNumber" minOccurs="1" maxOccurs="1"/>
<element name="phonetwo" type="ttns:PhoneNumber" mDeepank-
When generating forms from Designer, Designer attaches libraries - like ofgmes.pll, ofgnavl.pll, etc. You will need to copy these libraries to the same directory where your forms reside on your Linux box. To find out what libraries ate attached to your form, open it on your windows PC after generating it from Designer and you will see the attached libraries. Also, watch out for the case-sensitivity of Linux. If you have the Designer libraries on your linux box and you still get errors, try changing the case of the names of the libraries.
Hope this helps,
Dan -
Hello,
I'm very new to webservices. I am using tomcat as the container and got jwsdp installed in it.
While trying to build one of the examples provided I am getting a build error. It seems that WSCompile isn't working fine. Find below the extracts of build output and some excerpts of build.xml file too.
build output
C:\tomcat50-jwsdp\xws-security\samples\simple>ant run-sample
Buildfile: build.xml
clean:
[delete] Deleting directory C:\tomcat50-jwsdp\xws-security\samples\simple\build
[delete] Deleting directory C:\tomcat50-jwsdp\xws-security\samples\simple\dist
as8-check:
ws-check:
tc-check:
[mkdir] Created dir: C:\tomcat50-jwsdp\xws-security\samples\simple\build\client\classes
[mkdir] Created dir: C:\tomcat50-jwsdp\xws-security\samples\simple\build\server\WEB-INF\classes
[mkdir] Created dir: C:\tomcat50-jwsdp\xws-security\samples\simple\dist
compile-handler-code:
[echo] Compiling the handler source code
[javac] Compiling 1 source file to C:\tomcat50-jwsdp\xws-security\samples\simple\build\server\WE
B-INF\classes
[javac] Compiling 1 source file to C:\tomcat50-jwsdp\xws-security\samples\simple\build\client\cl
asses
create-handler-jar:
[jar] Building jar: C:\tomcat50-jwsdp\xws-security\samples\simple\build\client\secenv-handler.
jar
prepare:
gen-server:
[echo] Running wscompile....
BUILD FAILED
file:C:/tomcat50-jwsdp/xws-security/samples/simple/build.xml:135: Could not create task or type of t
ype: wscompile.
Ant could not find the task or a class this task relies upon.
This is common and has a number of causes; the usual
solutions are to read the manual pages then download and
install needed JAR files, or fix the build file:
- You have misspelt 'wscompile'.
Fix: check your spelling.
- The task needs an external JAR file to execute
and this is not found at the right place in the classpath.
Fix: check the documentation for dependencies.
Fix: declare the task.
- The task is an Ant optional task and optional.jar is absent
Fix: look for optional.jar in ANT_HOME/lib, download if needed
- The task was not built into optional.jar as dependent
libraries were not found at build time.
Fix: look in the JAR to verify, then rebuild with the needed
libraries, or download a release version from apache.org
- The build file was written for a later version of Ant
Fix: upgrade to at least the latest release version of Ant
- The task is not an Ant core or optional task
and needs to be declared using <taskdef>.
Remember that for JAR files to be visible to Ant tasks implemented
in ANT_HOME/lib, the files must be in the same directory or on the
classpath
Please neither file bug reports on this problem, nor email the
Ant mailing lists, until all of these causes have been explored,
as this is not an Ant bug.
Total time: 2 seconds
Excerpts from the build.xml
<!--
Copyright 2004 Sun Microsystems, Inc. All rights reserved.
SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
-->
<!DOCTYPE project [
<!ENTITY tomcat SYSTEM "file:../buildconfig/tomcat-config.xml">
<!ENTITY sjsas SYSTEM "file:../buildconfig/sjsas-config.xml">
<!ENTITY sjsws SYSTEM "file:../buildconfig/sjsws-config.xml">
]>
<project name="simple" default="usage" basedir=".">
<!-- Values in build.properties (if any) override the values in this file -->
<property file="build.properties"/>
<property file="../build.properties"/>
<property name="context-path" value="securesimple"/>
<property name="client-class" value="${ant.project.name}.TestClient"/>
<property name="url" value="http://${endpoint.host}:${endpoint.port}/manager/"/>
<property name="username" value="${username}"/>
<property name="password" value="${password}"/>
<property name="build.home" value="build"/>
<property name="dist.home" value="dist"/>
<property name="portable-war" value="${ant.project.name}-portable.war"/>
<property name="deployable-war" value="${context-path}.war"/>
<property name="war-path" value="${dist.home}/${deployable-war}"/>
<property name="config.rpcenc.file" value="${basedir}/etc/config.xml"/>
<property name="client.config.rpcenc.file" value="${basedir}/etc/client-config.xml"/>
<property name="model.rpcenc.file" value="model.xml.gz"/>
<property name="webapp.webxml" value="${basedir}/etc/web.xml"/>
<property name="jaxrpc.tool.verbose" value="true"/>
<target name="as8-check" if="sjsas.home">
<mkdir dir="${build.home}/client/classes"/>
<mkdir dir="${build.home}/server/WEB-INF/classes"/>
<mkdir dir="${dist.home}"/>
&sjsas;
</target>
<target name="ws-check" if="sjsws.home">
<mkdir dir="${build.home}/client/classes"/>
<mkdir dir="${build.home}/server/WEB-INF/classes"/>
<mkdir dir="${dist.home}"/>
&sjsws;
</target>
<target name="tc-check" if="tomcat.home">
<mkdir dir="${build.home}/client/classes"/>
<mkdir dir="${build.home}/server/WEB-INF/classes"/>
<mkdir dir="${dist.home}"/>
<!--&tomcat;--><!--Added by Sourabh: Its commented to fix compilation issues-->
</target>
<target name="prepare" depends="as8-check, ws-check, tc-check, compile-handler-code, create-handler-jar">
<mkdir dir="${build.home}"/>
<mkdir dir="${build.home}/server"/>
<mkdir dir="${build.home}/server/WEB-INF"/>
<mkdir dir="${build.home}/server/WEB-INF/classes"/>
<mkdir dir="${dist.home}"/>
</target>
<target name="compile-handler-code"
description="Compiles the handler">
<echo message="Compiling the handler source code "/>
<path id="app.classpath">
<!--Added by Sourabh:Start -->
<fileset dir="${build.home}/../../../../xws-security/lib">
<include name="**/*.jar"/>
</fileset>
<fileset dir="${build.home}/../../../../jwsdp-shared/lib">
<include name="**/*.jar"/>
</fileset>
<!--Added by Sourabh: End-->
</path>
<javac debug="true"
srcdir="src"
destdir="${build.home}/server/WEB-INF/classes"
includes="**/*.java">
<classpath>
<path refid="app.classpath"/>
</classpath>
</javac>
<javac debug="true"
srcdir="src"
destdir="${build.home}/client/classes"
includes="**/*.java">
<classpath>
<path refid="app.classpath"/>
</classpath>
</javac>
</target>
<target name="create-handler-jar"
description="Creating jar file">
<jar jarfile="${build.home}/client/secenv-handler.jar">
<fileset dir="${build.home}/client/classes">
<include name="**/*.class"/>
</fileset>
</jar>
</target>
<target name="compile-server" depends="gen-server"
description="Compiles the server-side source code">
<echo message="Compiling the server-side source code...."/>
<javac debug="true"
srcdir="server/src"
destdir="${build.home}/server/WEB-INF/classes"
includes="**/*.java">
<classpath>
<path refid="app.classpath"/>
</classpath>
</javac>
</target>
<target name="gen-server" depends="prepare"
description="Runs wscompile to generate server artifacts">
<echo message="Running wscompile...."/>
<wscompile verbose="${jaxrpc.tool.verbose}"
xPrintStackTrace="true"
jvmargs="-Djava.endorsed.dirs=${java.endorsed.dir}"
keep="true" fork="true"
security="${server.security.config}"
import="true"
model="${build.home}/server/WEB-INF/${model.rpcenc.file}"
base="${build.home}/server/WEB-INF/classes"
classpath="${app.classpath}"
config="${config.rpcenc.file}">
<classpath>
<pathelement location="${build.home}/server/WEB-INF/classes"/>
<path refid="app.classpath"/>
</classpath>
</wscompile>
</target>
<target name="setup-web-inf" depends="prepare">
<echo message="Setting up ${build.home}/server/WEB-INF..."/>
<copy file="./etc/web.xml" todir="${build.home}/server/WEB-INF"/>
<copy file="./etc/jaxrpc-ri.xml" todir="${build.home}/server/WEB-INF"/>
<copy file="./etc/PingService.wsdl" todir="${build.home}/server/WEB-INF"/>
</target>
<target name="raw-war" depends="setup-web-inf"
description="Creates a 'raw' WAR file">
<echo message="Packaging to ${dist.home}/${portable-war}...."/>
<delete file="${dist.home}/${portable-war}" />
<jar jarfile="${dist.home}/${portable-war}">
<fileset dir="${build.home}/server">
<include name="WEB-INF/**"/>
<include name="index.html"/>
</fileset>
</jar>
</target>
<target name="process-war" depends="raw-war"
description="Runs wsdeploy to create a deployable or 'cooked' WAR file">
<echo message="Running wsdeploy..."/>
<delete file="${dist.home}/${deployable-war}"/>
<wsdeploy fork="true" verbose="${jaxrpc-tool-verbose}" keep="true"
jvmargs="-Djava.endorsed.dirs=${java.endorsed.dir}"
tmpdir="${build.home}/server"
outwarfile="${dist.home}/${deployable-war}"
inwarfile="${dist.home}/${portable-war}">
<classpath>
<path refid="app.classpath"/>
</classpath>
</wsdeploy>
</target>
<target name="build-server"
depends="compile-server, gen-server, raw-war, process-war">
</target>
<!-- Appserver -->
<target name="check-if-deployed-as" if="sjsas.home">
<echo message="Checking for deployed webapp at context path /${context-path}"/>
<condition property="as.webapp.deployed">
<http url="http://${endpoint.host}:${endpoint.port}/${context-path}/"/>
</condition>
</target>
<target name="deploy-sjsas"
depends="prepare, check-if-deployed-as, undeploy-sjsas"
if="sjsas.home">
<echo message="Deploying war for ${ant.project.name} to sjsas"/>
<appserv-deploy file="${war-path}" password="${password}" sunonehome="${sjsas.home}" />
</target>
<target name="undeploy-sjsas" if="as.webapp.deployed">
<echo message="Undeploying existing webapp at ${context-path}"/>
<echo message="appclasspath ${app.classpath}"/>
<appserv-undeploy name="${context-path}" password="${password}" sunonehome="${sjsas.home}" />
</target>
<!-- end of Appserver -->
<!-- Webserver -->
<target name="check-if-deployed-ws" if="sjsws.home">
<echo message="Checking for deployed webapp at context path /${context-path}"/>
<condition property="ws.webapp.deployed">
<http url="http://${endpoint.host}:${endpoint.port}/${context-path}/"/>
</condition>
</target>
<target name="deploy-ws">
<echo message="deploying ${war-path} at ${context-path}" />
<exec executable="${SJSWS_DEPLOY}" vmlauncher="false">
<arg value="deploy" />
<arg value="-u" />
<arg value="/${context-path}" />
<arg value="-i" />
<arg value="${VS.DIR}" />
<arg value="-v" />
<arg value="${VS.DIR}" />
<arg value="${war-path}" />
</exec>
</target>
<target name="undeploy-ws" >
<echo message="undeploying ${context-path}" />
<exec executable="${SJSWS_DEPLOY}" vmlauncher="false">
<arg value="delete" />
<arg value="deploy" />
<arg value="-u" />
<arg value="/${context-path}" />
<arg value="-i" />
<arg value="${VS.DIR}" />
<arg value="-v" />
<arg value="${VS.DIR}" />
<arg value="hard" />
</exec>
</target>
<target name="deploy-sjsws"
depends="prepare, check-if-deployed-ws, undeploy-sjsws"
if="sjsws.home" >
<echo message="Deploying war for ${ant.project.name} to sjsws"/>
<antcall target="deploy-ws" />
</target>
<target name="undeploy-sjsws" if="ws.webapp.deployed">
<echo message="Undeploying existing webapp at ${context-path}"/>
<echo message="appclasspath ${app.classpath}"/>
<antcall target="undeploy-ws" />
</target>
<!--End of Webserver -->
<!--Tomcat -->
<target name="check-if-deployed-tom" if="tomcat.home">
<echo message="Checking for deployed webapp at context path /${context-path}"/>
<condition property="tom.webapp.deployed">
<http url="http://${endpoint.host}:${endpoint.port}/${context-path}/"/>
</condition>
</target>
<target name="deploy-tomcat"
depends="prepare, check-if-deployed-tom, undeploy-tomcat"
if="tomcat.home" >
<echo message="Deploying war for ${ant.project.name} to tomcat"/>
<deploy-catalina url="${url}" username="${username}" password="${password}"
path="/${context-path}" war="file:${war-path}"/>
</target>
<target name="undeploy-tomcat-proper" if="webapp.deployed">
<echo message="Undeploying existing webapp at ${context-path}"/>
<undeploy-catalina url="${url}" username="${username}" password="${password}" path="/${context-path}"/>
</target>
<target name="undeploy-tomcat-war-present" if="war.present">
<echo message="Undeploying existing webapp at ${context-path}"/>
<undeploy-catalina url="${url}" username="${username}" password="${password}" path="/${context-path}"/>
</target>
<target name="undeploy-tomcat" if="tomcat.home">
<echo message="Undeploying existing webapp at ${context-path}"/>
<condition property="war.present">
<available file="${tomcat.home}/webapps/${deployable-war}" />
</condition>
<antcall target="undeploy-tomcat-war-present" />
<condition property="webapp.deployed">
<http url="http://${endpoint.host}:${endpoint.port}/${context-path}/"/>
</condition>
<antcall target="undeploy-tomcat-proper" />
</target>
<!--End of Tomcat -->
<target name="deploy-forced" depends= "deploy-sjsas, deploy-sjsws, deploy-tomcat"/>
<target name="internal-undeploy" depends= "undeploy-sjsas, undeploy-sjsws, undeploy-tomcat"/>
<target name="redeploy" depends="prepare"
description="Undeploys and deploys a Web aplication">
<antcall target="undeploy" />
<antcall target="deploy" />
</target>
<target name="gen-client" depends="prepare"
description="Runs wscompile to generate client side artifacts">
<echo message="Running wscompile...."/>
<wscompile fork="true" verbose="${jaxrpc.tool.verbose}" keep="true"
jvmargs="-Djava.endorsed.dirs=${java.endorsed.dir}"
client="true"
security="${client.security.config}"
base="${build.home}/client"
features=""
config="${client.config.rpcenc.file}">
<classpath>
<fileset dir="${build.home}/client">
<include name="secenv-handler.jar"/>
</fileset>
<path refid="app.classpath"/>
</classpath>
</wscompile>
</target>
<target name="compile-client" depends="prepare"
description="Compiles the client-side source code">
<echo message="Compiling the client source code...."/>
<javac srcdir="client/src"
debug="true"
destdir="${build.home}/client"
includes="**/*.java">
<classpath>
<path refid="app.classpath"/>
<fileset dir="${build.home}/client">
<include name="secenv-handler.jar"/>
</fileset>
</classpath>
</javac>
</target>
<target name="build-client" depends="gen-client, compile-client"
description="Executes the targets needed to build a stub client.">
</target>
<target name="run-sample"
depends="clean, prepare, build-server, deploy-forced, build-client"
description="Runs the example client">
<echo message="Running the ${client-class} program...."/>
<java fork="on" classname="${client-class}">
<sysproperty key="java.endorsed.dirs" value="${java.endorsed.dir}"/>
<sysproperty key="endpoint.host" value="${endpoint.host}"/>
<sysproperty key="endpoint.port" value="${endpoint.port}"/>
<sysproperty key="service.url" value="${service.url}"/>
<sysproperty key="jwsdp.home" value="${jwsdp.home}"/>
<classpath>
<pathelement location="${build.home}/client"/>
<fileset dir="${build.home}/client">
<include name="secenv-handler.jar"/>
</fileset>
<path refid="app.classpath"/>
</classpath>
</java>
</target>
<target name="run-remote-sample"
depends="clean, prepare, build-client"
description="Runs the example client">
<echo message="Running the ${client-class} program...."/>
<java fork="on" classname="${client-class}">
<sysproperty key="java.endorsed.dirs" value="${java.endorsed.dir}"/>
<sysproperty key="http.proxyHost" value="${http.proxyHost}"/>
<sysproperty key="http.proxyPort" value="${http.proxyPort}"/>
<sysproperty key="endpoint.host" value="${endpoint.host}"/>
<sysproperty key="endpoint.port" value="${endpoint.port}"/>
<sysproperty key="service.url" value="${service.url}"/>
<sysproperty key="jwsdp.home" value="${jwsdp.home}"/>
<classpath>
<pathelement location="${build.home}/client"/>
<fileset dir="${build.home}/client">
<include name="secenv-handler.jar"/>
</fileset>
<path refid="app.classpath"/>
</classpath>
</java>
</target>
<target name="clean-server"
description="Removes server side build directories">
<delete dir="${build.home}/server"/>
</target>
<target name="clean-client"
description="Removes client side build directories">
<delete dir="${build.home}/client"/>
</target>
<target name="clean"
description="Removes all build and dist directories">
<delete dir="${build.home}"/>
<delete dir="${dist.home}"/>
</target>
<target name="usage" depends="prepare">
<echo message="Please see README.txt for more info."/>
<echo message="Useful targets:"/>
<echo message=" clean = remove both server and client objects"/>
<echo message=" clean-server = remove only server objects"/>
<echo message=" clean-client = remove only client objects"/>
<echo message=" build-server = build server side code"/>
<echo message=" deploy-forced = force deploy built server code to Container"/>
<echo message=" build-client = build client app code"/>
<echo message=" run-sample = run the sample"/>
<echo message=" run-remote-sample = run the sample against a remote server containing the deployed endpoint"/>
</target>
<target name="help" depends="usage"/>
</project>any help would be highly appreciated.
regards,
Sourav407 Proxy Authentication Required
The compiler is trying to reference a document on the web, but can't use your proxy because it doesn't have the proxy id and password to use.
If it isn't possible to pas the proxy info to the compiler, download the doc to a local server and reference it there. -
Hi,
Please let me know if there are any solutions to this or any forum topics relating to this.
1) Wscompile doesn't understand abstract="true". So the generated java source is not an abstract class.
<complexType name="WSMessage" abstract="true">
Why is this?
2) Wscompile does't generate the source code for complex types that are not specified as input/output part of the operations defined in the WSDL.
Why is this?
3) Wscompile does't generate the code for complex types that do not have any sequence of elements defined in the XSD.
commonSchema.xsd
<complexType name="WSMessage" abstract="true">
<sequence/>
</complexType>
<complexType name="WSRequest">
<complexContent>
<extension base="tns:WSMessage"/>
</complexContent>
</complexType>
<complexType name="WSResponse">
<complexContent>
<extension base="tns:WSMessage"/>
</complexContent>
</complexType>
myModule.xsd references complex types defined in commonSchema.xsd
<element name="AuthenicateUserRequest">
<complexType>
<complexContent>
<extension base="commonSchema:WSRequest">
<sequence>
<element name="userName" type="string" minOccurs="1" maxOccurs="1"/>
<element name="password" type="string" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
</element>
This is the structure of my XSD. And when I generate the code from WScompile, it just does't generate anything for the commonSchema.xsd
I also found that the addition of an sequence element to the WSMessage which is being referenced by WSRequest,WSResponse etc.. does't change the scenario. Its only when I add a sequence element to the WSRequest or WSResponse, then the code is generated. Also, it seems that AuthenicateUserRequest which references the WSRequest in the XSD, does not reflect in the generated code for the same reason stated above.
meaning AuthenicateUserRequest doesn't extend WSRequest.
any help is appreciated......Hi dkohlert ,
thanx for the solution. It infact generated most of the artifacts from the XSD.
I have one more major problem,
As I have stated in the section 3 of my first post
<complexType name="WSMessage" abstract="true">
<sequence/>
</complexType>
<complexType name="WSRequest">
<complexContent>
<extension base="tns:WSMessage" />
</complexContent>
</complexType>whereever the tag <extension base="" /> is used as shown above, no code is generated. I just have a generated java code for complex type WSMessage and not for WSRequest.
It's only when I add an element to the WSRequest such as,
<complexType name="WSRequest">
<complexContent>
<extension base="tns:WSMessage" >
<sequence>
<element name="param" type="xsd:string" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>the java code is generated for WSRequest.
Can you help me on this. -
Wscompile: compilation error
Hi all,
I am using wscompile to create a web service client from a wsdl file. I get an error during compilation caused by some strange symbols in the generated code.
Has anyone an idea what may be wrong ? Or is it a bug in wscompile ?
Kind regards
Adrian
This is the output of wscompile:
ant -f STOCK-ProductTypesClient.xml
Buildfile: STOCK-ProductTypesClient.xml
init:
runWscompile:
[wscompile] command line: wscompile -d /home/azbaof/workspace/OrderManagementSystem/webServices/build "-features:searchschema, strict, noencodedtypes, serializeinterfaces, jaxbenumtype, nomultirefs, wsi, explicitcontext" -gen:client -keep -s /home/azbaof/workspace/OrderManagementSystem/webServices/src -verbose -Xprintstacktrace /home/azbaof/workspace/OrderManagementSystem/webServices/STOCK-ProductTypesClientConfig.xml -classpath /home/azbaof/jwsdp-1.4/jaxrpc/lib/jaxrpc-spi.jar:/home/azbaof/jwsdp-1.4/jaxrpc/lib/jaxrpc-impl.jar:/home/azbaof/jwsdp-1.4/jaxrpc/lib/jaxrpc-api.jar:/home/azbaof/jwsdp-1.4/jwsdp-shared/lib/activation.jar:/home/azbaof/jwsdp-1.4/jwsdp-shared/lib/jax-qname.jar:/home/azbaof/jwsdp-1.4/jwsdp-shared/lib/mail.jar:/home/azbaof/jwsdp-1.4/saaj/lib/saaj-api.jar:/home/azbaof/jwsdp-1.4/saaj/lib/saaj-impl.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/endorsed/dom.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/endorsed/sax.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/endorsed/xercesImpl.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/endorsed/xalan.jar:/home/azbaof/jwsdp-1.4/jaxp/lib/jaxp-api.jar
[wscompile] warning: Processing WS-I non conforming operation "WS_PTYPE" with RPC-Style and SOAP-encoded
[wscompile] [ServiceInterfaceGenerator: creating service interface: test.webServices.WS_PTYPE]
[wscompile] [ServiceGenerator: creating service: test.webServices.WS_PTYPE_Impl]
[wscompile] [CustomClassGenerator: generating JavaClass for: WS_PTYPE]
[wscompile] [CustomClassGenerator: generating JavaClass for: WS_PTYPEResponse]
[wscompile] [CustomClassGenerator: generating JavaClass for: PTYPES]
[wscompile] [CustomClassGenerator: generating JavaClass for: PRODUCT_TYPE]
[wscompile] [SOAPObjectSerializerGenerator: writing serializer/deserializer for: {urn:com-softwareag-entirex-rpc:STOCK}WS_PTYPE]
[wscompile] [SOAPObjectSerializerGenerator: writing serializer/deserializer for: {urn:com-softwareag-entirex-rpc:STOCK}WS_PTYPEResponse]
[wscompile] [SOAPObjectSerializerGenerator: writing serializer/deserializer for: {http://namespace.softwareag.com/entirex/xml/mapping}PTYPES]
[wscompile] [SOAPObjectSerializerGenerator: writing serializer/deserializer for: {http://namespace.softwareag.com/entirex/xml/mapping}PRODUCT_TYPE]
[wscompile] [SOAPObjectBuilderGenerator: writing object builder for: WS_PTYPEResponse]
[wscompile] [SOAPObjectBuilderGenerator: writing object builder for: PTYPES]
[wscompile] [SOAPObjectBuilderGenerator: writing object builder for: PRODUCT_TYPE]
[wscompile] [SerializerRegistryGenerator: creating serializer registry: test.webServices.WS_PTYPE_SerializerRegistry]
[wscompile] /home/azbaof/workspace/OrderManagementSystem/webServices/src/test/webServices/WS_PTYPE_SerializerRegistry.java:35: illegal start of expression
[wscompile] elemName, elemType, test.webServices.PRODUCT_TYPE.class, 1, [I@ba4211, SOAPVersion.SOAP_11);
[wscompile] ^
[wscompile] /home/azbaof/workspace/OrderManagementSystem/webServices/src/test/webServices/WS_PTYPE_SerializerRegistry.java:35: illegal character: \64
[wscompile] elemName, elemType, test.webServices.PRODUCT_TYPE.class, 1, [I@ba4211, SOAPVersion.SOAP_11);
[wscompile] ^
[wscompile] /home/azbaof/workspace/OrderManagementSystem/webServices/src/test/webServices/WS_PTYPE_SerializerRegistry.java:35: ')' expected
[wscompile] elemName, elemType, test.webServices.PRODUCT_TYPE.class, 1, [I@ba4211, SOAPVersion.SOAP_11);
[wscompile] ^
[wscompile] 3 errors
[wscompile] error: compilation failed, errors should have been reported
BUILD FAILEDAnd here is my wsdl file:
<?xml version='1.0' encoding='utf-8'?>
<!-- Generated Nov 8, 2004 4:05:54 PM by Software AG SOAP Toolkit Wizard, Version 7.1.1.60 -->
<definitions name='STOCK' targetNamespace='http://namespace.softwareag.com/entirex/xml/mapping'
xmlns='http://schemas.xmlsoap.org/wsdl/' xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:SOAP-ENC='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:tns='http://namespace.softwareag.com/entirex/xml/mapping'
>
<types>
<schema targetNamespace='http://namespace.softwareag.com/entirex/xml/mapping' xmlns='http://www.w3.org/2001/XMLSchema'>
<xsd:complexType name='PTYPES'>
<xsd:sequence>
<xsd:element name='ArrayOfPRODUCT_TYPE' type='tns:ArrayOfPRODUCT_TYPE'/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name='ArrayOfPRODUCT_TYPE'>
<complexContent>
<restriction base='SOAP-ENC:Array'>
<attribute ref='SOAP-ENC:arrayType' wsdl:arrayType='tns:PRODUCT_TYPE[100]'/>
</restriction>
</complexContent>
</xsd:complexType>
<xsd:complexType name='PRODUCT_TYPE'>
<xsd:sequence>
<xsd:element name='NAME' type='xsd:string'/>
<xsd:element name='PTYPE-ID' type='xsd:decimal'/>
<xsd:element name='DESCRIPTION' type='xsd:string'/>
<xsd:element name='WEIGHT' type='xsd:decimal'/>
<xsd:element name='BULK-PIECE' type='xsd:decimal'/>
<xsd:element name='PRICE' type='xsd:decimal'/>
<xsd:element name='ID-VENDOR' type='xsd:decimal'/>
<xsd:element name='DELIVERY-TIME' type='xsd:decimal'/>
<xsd:element name='AMOUNT-IN-STOCK' type='xsd:decimal'/>
</xsd:sequence>
</xsd:complexType>
</schema>
</types>
<message name='WS_PTYPE'>
<part name='START-ISN' type='xsd:int'/>
</message>
<message name='WS_PTYPEResponse'>
<part name='START-ISN1' type='xsd:int'/>
<part name='PTYPES' type='tns:PTYPES'/>
</message>
<portType name='STOCKPort'>
<operation name='WS_PTYPE'>
<input message='tns:WS_PTYPE'/>
<output message='tns:WS_PTYPEResponse'/>
</operation>
</portType>
<binding name='STOCKSoapBinding' type='tns:STOCKPort'>
<soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/>
<operation name='WS_PTYPE'>
<soap:operation soapAction='WS_PTYPE'/>
<input>
<soap:body use='encoded' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
namespace='urn:com-softwareag-entirex-rpc:STOCK'
/>
</input>
<output>
<soap:body use='encoded' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
namespace='urn:com-softwareag-entirex-rpc:STOCK'
/>
</output>
</operation>
</binding>
<service name='WS_PTYPE'>
<port name='STOCKPort' binding='tns:STOCKSoapBinding'>
<soap:address location='http://myHost:8080/entirex/xmlrt'/>
</port>
</service>
</definitions>Axis can create wsdl aotumatilly for each request.I don`t want to create wsdl, because I have already a wsdl file for an existing web service.
With Axis I have generated the client - classes, that means the stub, helper classes and
holders. I compiled the classes, and it works !
It depends on how to write client code. If your client
know your interface and endpoint, he doesn't need wsdl
at all. If the client don't know that, then he need
the wsdl and parse the wsdl(write lot of code) to get
the information like endpoint, method name,
parameters.....This is not the way I want it, as I said, the server exists. I want to generate a client
that corresponds to the wsdl-file, which describes the already running web service.
Once again: Is it possible for anybody to create a client via JWSDP 1.4 wscompile with
my wsdl file without the errors mentioned in my first posting ? If this is not possible, it
seems to be a bug in wscompile.
Thanks
Adrian -
[Beginner] Help! How to change the packet name for an jax-rpc example
Hi
I am new to the JWSDP, I tried to build and deploy the helloservice application (the example in
tutorial), it works fine. But I want to change the packet name from helloservice to books, it
returns error message during the building process.
Here is what I did.
I changed the folder name from helloservice to books.
In helloIF.java and helloImp1.java, changed to "package books"
In build.properties:
example=books
war.path=${tut.root}/examples/jaxrpc/books/${dist}/${deployable.war}
context.path=${hello.context}
portable.war=${context.path}-portable.war
deployable.war=${context.path}.war
In jaxrpc-ri.xml,
<?xml version="1.0" encoding="UTF-8"?>
<webServices
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/dd"
version="1.0"
targetNamespaceBase="urn:foo"
typeNamespaceBase="urn:foo"
urlPatternBase="/ws">
<endpoint
name="MyHello"
displayName="HelloWorld Service"
description="A simple web service"
interface="books.HelloIF"
model="/WEB-INF/model.gz"
implementation="books.HelloImpl"/>
<endpointMapping
endpointName="MyHello"
urlPattern="/hello"/>
</webServices>
In config-interface.xml,
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<service
name="MyHelloservice"
targetNamespace="urn:foo"
typeNamespace="urn:foo"
packageName="books">
<interface name="books.HelloIF"/>
</service>
</configuration>
When I run "ant build", it returns the following error message:
run-wscompile:
[echo] Running wscompile:
[echo] C:\jwsdp-1.3\apache-ant\../jaxrpc/bin/wscompile.bat -define -d bui
ld -nd build -classpath build config-interface.xml -model build/mo
del.gz
[exec] error parsing configuration file: XML parsing error: com.sun.xml.rpc
.sp.ParseException:1: com.sun.xml.rpc.sp/P-067
[exec] Result: 1
All I want to do is just change the packet name, anyone know how to do it?
Please help me.
Thank you.For future reference, please post JAXRPC related questions to [email protected]
There is something syntatically wrong with your config.xml. Try reverting back to the original, and try that. Then try modifying it again making sure to only change the packageName. -
Very basic questions on JAX-RPC and wscompile
Hello,
well, I have this tool that generates java packages. The thing is that this tool needs now to generate JAX-RPC compliant java packages. To verify its compilance, I am using wscompile 1.1.3 build R1 and Sun AS Edition 8.2.
My questions are:
- In the generated packages, there might some classes with no attributes at all :P(remember that I am handling automatically generated classes). When running wscompile to generate the corresponding WSDL, I am getting "invalid type for JAX-RPC structure", even if it has a default empty constructor. I know it looks stupid, but I could not find anywhere in the JAX-RPC specification saying that for a class to be jaxrpc compliant, it must have at least one attribute. Any idea?
- It might be the case that I have same class name in different packages:
mypackage.structures.messages.A
mypackage.structures.segments.AWhen generating the server stub, I am getting:
Duplicate type name "{urn:mynamespace}A" for java type "mypackage.structures.segments.A" found.
Is there a way to tell wscompile to keep the class package name for every class when generating the wsdl? Or is it always building all the classes together in the package specified in the service/packageName within the configuration xml file?
Thanks a lot in advance for any help.1. Does predictive text only work in the SMS app, or does it work in the apps for email, writing notes, etc?
It works with Safari, the Mail client, the Notes app, and with the SMS app.
2. Can you turn the predictive text off? (I find it wildly irritating, because I know far better what words I want to write than a pesky phone does!)
Yes.
3. Having email sent to a mobile is a whole new world for me! Do I need to subscribe to MobileMe at £££ per month, or is there another way of having email from my three accounts forwarded to my mobile?
You can access any IMAP or POP account with the iPhone's Mail client, and access multiple email accounts. I currently access to email accounts with the iPhone's mail client - my MobileMe account, and a business POP account. You can access all 3 of your email accounts with the iPhone's Mail client. -
hi guys!!
please help asap!!
this is regarding my academic project!!!!!
I have to develop web service. I have downloaded j2ee1.4+sun's server+jwsdp1.5 from sun's website. I have set all the variables as stated in tutorial (like j2ee.home, build.properties in <J2EE_TUT_HOME>examples/common, etc..)
Here is the problem....
whenever I try to build service using 'asant build', it gives the error while wscompile command!! the error is wscompile command fails to locate ${config.interface.file}
Please tell me what should be the problem. what need to be fixed to overcome this..
Also, please suggest some good tutorials on axis (where jdbc is used).
Thanking you..
.MohitDear Ansar Sk,
elsewhere your questions would simply be answered with 'RTFM!'.
Your questions have been answered so often, please do a little homework first and use the search capabilities here on SDN, google a little or buy yourself a book on the subject and get the veeeery basics.
There are tons of materials on web services everywhere.
Later you are very welcome to come back and discuss the remaining questions.
This is only my very personal view.
Regards,
anton -
Wscompile NullPointerException
Hello, I am trying to create java classes from wsdl but I failed to use wscompile.bat properly. First, I deleted from wscompile.bat the last parameter for "%JAVA_HOME%\bin\java.exe" classpath which was "%PATH%", because it was showing just the java.exe help. Next, I created a config file for my WSDL which looks like:
<?xml version="1.0" encoding="UTF-8" ?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl
location="http://marvin:7778/esb/wsil/EDC/EDC?wsdl"
packageName="mypackage"/>
</configuration> And finally I ran "wscompile -Xprintstacktrace -d build -gen wsdl_config.xml" which returned a NullPointerException:
java.lang.NullPointerException
at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseBindingOperation(WSDLPars
er.java:889)
at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseBinding(WSDLParser.java:8
27)
at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLP
arser.java:456)
at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLP
arser.java:380)
at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLP
arser.java:335)
at com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitions(WSDLParser.ja
va:225)
at com.sun.xml.rpc.wsdl.parser.WSDLParser.parse(WSDLParser.java:214)
at com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSD
LModelerBase.java:200)
at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:
88)
at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)
at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.commons.launcher.ChildMain.run(ChildMain.java:269)
error: java.lang.NullPointerExceptionWhat is going on? Please help.Hi
I have also tried to run wscompile through maven instead of Ant and get the exact same exception in the
'com.sun.xml.rpc.util.JavaCompilerHelper.internalCompile(JavaCompilerHelper.java:45)'. The java source gets generated(ties/etc) but the compilation doesnt happen because of this. This is with J2sdk1.4.2_01 and Maven-beta-9. Please help.
Maybe you are looking for
-
How do I get past purchases back on my itouch?
how do I get past purchases back on my itouch? had to reset because of forgotten password... now what?
-
Photoshop crashes when rearranging layers in layer window.
Photoshop crashes when rearranging layers in layer window. I'm using Photoshop CS4 Extended on a MacBook Pro purchased 5 months ago. I have tried restarting the computer. I am able to rearrange layers with the hot keys.
-
HI All, I am trying to upload the trial balance with Web ADI.Its working firn for 4 records but for 2000 records, its not uploading and even not showing any error msg.Its just terminating the loader. Can somebody help ????? Thanks in advance Abhishek
-
Error at Insert new Line in the Table (ITERATOR)
public String novaLinhaTabela() { BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry(); //access the name of the iterator the table is bound to. Its "allDepartmentsIterator"
-
Bapi to Update Mnstransty (Means of transportation) in Inbound Delivery
Hi Guys, Can you please let me know any BAPI which could update the mnstransty field (Means of Transportation ) in the Inbound Delivery. BAPI_INB_DELIVERY_CHANGE is not fulfilling this need.