Web reference error wit a WCF service client
Dear all,
I have build as a studient demo a WCF service hosted under Windows Nt service with the following configuration file services:
<services>
<service behaviorConfiguration="MesServiceBehaviour" name="WCFServices.MesServices">
<clear />
<endpoint address="net.tcp://localhost:2000/MyService/ConvertCase"
binding="netTcpBinding" contract="WCFInterfaces.IMesServices"
listenUriMode="Explicit">
<identity>
<certificateReference storeName="My" storeLocation="LocalMachine"
x509FindType="FindBySubjectDistinguishedName" />
</identity>
</endpoint>
<endpoint address="http://localhost/ConvertCase" binding="basicHttpBinding"
bindingConfiguration="" contract="WCFInterfaces.IMesServices" />
</service>
</services>
<!--Serivice behaviour definition-->
<behaviors>
<serviceBehaviors>
<behavior name="MesServiceBehaviour">
<serviceMetadata httpGetEnabled="true" httpGetUrl="http://localhost:8080/MyService/ConvertCase" />
</behavior>
</serviceBehaviors>
</behaviors>
Then I would liek to show my student how to use the metadata to access the service.
For that I have created a simple client application and add a web reference to my project pointing to my service adress. i get corresponding files created but just like this my client application do not compile with following error in autogenerate file :
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// CODEGEN: The binding 'NetTcpBinding_IMesServices' from #pragma warning disable 1591
namespace 'http://tempuri.org/' was ignored. There is no SoapTransportImporter that understands the transport 'http://schemas.microsoft.com/soap/tcp'.
// This source code was auto-generated by Microsoft.VSDesigner, Version 2.0.50727.3053.
namespace Client.myServiceProxy {}
#pragma warning restore 1591
IN addition to that, how can I access the generated proxy from my client code ?
The proxy object I have created seems not visible is there something to add or change absed on generated code ?
I have never used such technique for proxy I am always using the channelFactory class but I would like to show my studient possibilities. And for me using autogeenrated code should at least compile and work straigt away..
Thnaks for help
sergeYour experience is build from the one of others
Can you tell me how you fixed this? I am having the exact same error - the generated proxy has nothing in it but comments:
There is no SoapTransportImporter that understands the transport 'http://schemas.xmlsoap.org/soap/tcp/'.
Nettie
Similar Messages
-
No transport error while consuming WCF service in a REST way
Hi,
Here is a small article on when we usually face No Transport error and how to get rid of it.
I recently worked on a sample application using “app for Office” (New in Visual Studio 11.0)
What is “app for Office”?
An app for Office is basically a webpage that is hosted inside an Office client application. You can use apps to extend the functionality of a document, email message, meeting request, or appointment. Apps
can run in multiple environments and clients, including rich Office desktop clients, Office Web Apps, mobile browsers, and also on-premises and in the cloud.
What can an app for Office do?
An app for Office can do pretty much anything a webpage can do inside the browser, such as the following:
Provide an interactive UI and custom logic through JavaScript. (Develop UI using HTML and JavaScript)
Use JavaScript frameworks such as jQuery.
Connect to REST endpoints and web services via HTTP and AJAX.
Run server-side code or logic, if the page is implemented using a server-side scripting language such as ASP or PHP.
As “app for Office” doesn’t have an option to write server side scripting (unlike code behind or in-line coding feature in ASP.NET/MVC) we will have to go for web service or WCF service and consume the service
using any JavaScript framework like Jquery.
I wrote a simple WCF service to hook up with server side code and consumed the service using Jquery as follows
$(document).ready(function () {
$.ajax({
type: "GET",
url: "http://localhost/MyService.svc/rh/data?id=" + $('#sampleType').val(),
processData: false,
contentType: "application/json; charset=utf-8",
dataType: "json",
crossDomain: true,
success: function (data) {
alert(data)
error: function (xhr, status, error) {
alert(error);
I encountered an error saying “No Transport” when I executed the client application.
I did some investigation on this and found out the root cause that cross-domain request was disabled. But I was really not sure whether it was at my WCF service end or “app for Office” client end. I added
Client Access policy and Cross-domain-policy xml files to WCF service in order to enable cross-domain request
so that service will accept any type requests sent form different domains.
Client Access policy
<?xml version="1.0" encoding="utf-8" ?>
<access-policy>
<cross-domain-access>
<policy>
<allow-from http-request-headers="*">
<domain uri="*"/>
</allow-from>
<grant-to>
<resource include-subpaths="true" path="/"/>
</grant-to>
</policy>
</cross-domain-access>
</access-policy>
Cross-domain-policy
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
Both the policies should be in different XML files
But this didn’t solve my problem. After a little bit more investigation I found exactly where and how to enable-cross domain requests.
Solution
We need to enable cross-domain requests in environments that do not support cross-domain requests.
“Cors is equal to true if a browser can create an XMLHttpRequest object and if thatXMLHttpRequest
object has a withCredentials property. To enable cross-domain requests in environments that do not support cors yet but do allow cross-domain XHRrequests (windows gadget, etc), set $.support.cors = true;”
You just have to add jQuery.support.cors = true; in your client scripting and it works perfectly fine.
[Cors- Cross-Origin Resource Sharing]
A simple example:
$.support.cors = true;
$(document).ready(function () {
$.ajax({
type: "GET",
url: "http://localhost/MyService.svc/rh/data?id=" + $('#sampleType').val(),
processData: false,
contentType: "application/json; charset=utf-8",
dataType: "json",
crossDomain: true,
success: function (data) {
alert(data)
error: function (xhr, status, error) {
alert(error);
Hope this will be helpful.
ThanksThis is very good technich to resolve the problem. but this is not working in Google chrome or Firfox . can any one help me.
-
NPE when working with connections.xml for Web Service client
Our ADF Web Service clients needs to read the WSDL and End point URL from connections.xml. But this is giving an Error.
Here are the details:
jdevloper 11.1.1.6.0
Weblogic 10.3.5
OWSM 11.1.1.6
From my ADF based Application I need to call out a web service.
For this I have built a Web Service Proxy and coded to call it from the application.
Since the app needs to run through the development testing deployment lifecycle and hence be deployed on different environments, we need the ability allow configuration of wsdl and end point URL for the web service call without the need to recompile the app.
We want to leverage the connections.xml for this purpose.
http://docs.oracle.com/cd/E23943_01/web.1111/b31974/web_services.htm#autoId6
My connection.xml looks like:
<Reference name="MyService" className="oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl" xmlns="">
<Factory className="oracle.adf.model.connection.webservice.api.WebServiceConnectionFactory"/>
<RefAddresses>
<XmlRefAddr addrType="WebServiceConnection">
<Contents>
<wsconnection description="file:/C:/JDeveloper/mywork/jdev116/DeployTstCnnxtnLov/LovProxy/src/abc/lov/proxy/MyService.wsdl" service="{http://xmlns.oracle.com/Enterprise/HCM/services/MyService.1}MyService">
<model name="{http://xmlns.oracle.com/Enterprise/HCM/services/MyService.1}MyService" xmlns="http://oracle.com/ws/model">
<service name="{http://xmlns.oracle.com/Enterprise/HCM/services/MyService.1}MyService">
<port name="MyService_Port" binding="{http://xmlns.oracle.com/Enterprise/HCM/services/MyService.1}MyService_Binding">
<soap addressUrl="http://<machine:port>/PSIGW/PeopleSoftServiceListeningConnector" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
<operation name="MyServiceOperation">
<soap soapAction="MyServiceOperation.v1" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
<output name="MyService_RESP.V1"/>
<input name="MyService_REQ.V1"/>
</operation>
</port>
</service>
</model>
</wsconnection>
</Contents>
</XmlRefAddr>
</RefAddresses>
</Reference>
My code in the Service Client Looks like:
@WebServiceRef
private static MyService myservice;
Context ctx = ADFContext.getCurrent().getConnectionsContext();
WebServiceConnection wsc =
(WebServiceConnection)ctx.lookup("MyService");
String urlString = wsc.getWsdlUrlStr();
System.out.println("WSDL URL: "+urlString);
myservice = wsc.getJaxWSPort(MyService.class);
MyService_PortType port = myservice.getMyService_Port();
ServiceRequest request = new ServiceRequest();
ServiceResponse response = port.MyServiceOeration(request);
The WSDL URL is being read correctly.
Error:
This error appears to be triggered by the code:
myservice = wsc.getJaxWSPort(MyService.class);
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:97)
at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:118)
at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processParameters(OperationMappingModeler.java:268)
at oracle.j2ee.ws.common.jaxws.runtime.OperationMappingModeler.processMethod(OperationMappingModeler.java:155)
at oracle.j2ee.ws.common.jaxws.runtime.ServiceEndpointRuntimeModeler.buildRuntimeModel(ServiceEndpointRuntimeModeler.java:114)
at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.getRuntimeMetadata(WsClientProxyFactory.java:69)
at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:126)
at oracle.j2ee.ws.client.jaxws.WsClientProxyFactory.createProxy(WsClientProxyFactory.java:106)
at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:219)
at oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:249)
at oracle.adf.model.connection.webservice.impl.WebServiceConnectionImpl.getJaxWSPort(WebServiceConnectionImpl.java:385)
at abc.lov.proxy.MyService_PortClient.fetchDesc(MyService_PortClient.java:84)
at abc.lov.ServiceManager.fetchEmplID(ServiceManager.java:13)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)Hi Frank,
I got the following two lines of code just to check if WebServiceConnection was able to read the connections file alright.
String urlString = wsc.getWsdlUrlStr();
System.out.println("WSDL URL: "+urlString);
I am not using urlString for further processing.
The output is
WSDL URL: http://<host>/PSIGW/PeopleSoftServiceListeningConnector/MyService.1.wsdl
java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:97)
at oracle.j2ee.ws.common.jaxws.runtime.GenericJavaType.create(GenericJavaType.java:118)
The WSDL Url pointed to is the one that I configure in the connection while deploying the App.
Ran a test and WSDL Url is accessible by the app. -
"Error consuming WCF service metadata.
Object reference not set to an instance of an object."
I have no clue what happen to my BizTalk. I checked all the below forum but m clueless why BTS not consuming WCF through Generated Items. I tried both metadata exhange endpoint and metadata file through
svcutil. but all my wcf services are working fine with .net C# client.
http://blogs.msdn.com/b/appfabriccat/archive/2010/11/23/how-using-duplex-mep-to-communicate-with-biztalk-from-a-net-application-or-a-wf-workflow-running-inside-appfabric-part-1.aspx
http://msdn.microsoft.com/en-us/library/bb226552.aspx
http://msdn.microsoft.com/en-us/library/bb798122.aspx
http://masteringbiztalkserver.wordpress.com/tag/wcf-service-consuming-wizard/
I reinstall the WCF lob Adapter SDK to my BizTalk VM but still no clue. no erros in event viewer nothing.
http://www.abdulazizfarooqi.wordpress.com Abdul Aziz Farooqi [BizTalk & SharePoint Consultant] MCPD Web & MCPD SharePoint 2010Thanks from me too Neal - this worked from me. I wan't able to consume directly from exchange because the certificate is broken. However, I was able to convince Google Chrome to let me view the /Services.wsdl and from there I could save the .wsdl and two
.xsd files. In my case the problem lay at the top of the .wsdl file. I changed the following:
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="messages.xsd"/>
</xs:schema>
by giving the same targetNamespace as assigned in the <wsdl:definitions element, so I ended up with
<wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.microsoft.com/exchange/services/2006/messages">
<xs:import namespace="http://schemas.microsoft.com/exchange/services/2006/messages" schemaLocation="messages.xsd"/>
</xs:schema> -
PI Error calling Microsoft WCF Web Service hosted on IIS
Hi All,
I am trying to call a Microsoft WCF web service in PI (also tried soapUI) but keep getting certificate error.
I have tested the same service with Microsoft WcfTestClient and everything works..
WCF Service Setup
Service URL: https://hostname/servicename.svc
Security Mode: TransportWithMessageCredential
PI Setup 1 (Should be correct setup)
Communication Channel
Adapter Type: SOAP
Uses Configure Certificate Authentification
Uses Security Profile = Web Service Security
Receiver Agreement
Uses Security Procedure (Request) = Sign
Uses Set Timestamp
Uses Set Expiry Date = 7200
Error: Unable to resolve the '#wsuid-body-5ad10600-3c4a-11e1-c462-005056960025' URI in the signature to compute the digest.
In the SOAP message the references match
<ds:Reference URI="#wsuid-body-5ad10600-3c4a-11e1-c462-005056960025">
<SOAP:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-body-5ad10600-3c4a-11e1-c462-005056960025">
Tried the following setups as well
PI Setup 2
Communication Channel
Uses Security Profile = Web Service Security
Receiver Agreement
Uses Security Procedure (Request) = Sign
Uses Set Timestamp
Uses Set Expiry Date = 7200
Error: The security protocol cannot verify the incoming message.
PI Setup 3
Communication Channel
Uses Configure Certificate Authentification
Error: Security processor was unable to find a security header in the message. This might be because the message is an unsecured fault or because there is a binding mismatch between the communicating parties. This can occur if the service is configured for security and the client is not using security.
Any help would be greatly appreciated
Edited by: Christian Vilhelm Henriksen on Jan 26, 2012 10:13 AMFound the following on Microsoft which looks similar to my problem.
http://download.microsoft.com/download/a/2/8/a2807f78-c861-4b66-9b31-9205c3f22252/dotnet35sp1readme.htm
What it says in short
To resolve this issue:
Do not sign the To header.
How do i do this in PI? -
SSIS Web Service Task Error with WCF Service
I have read all the other posts on this site and have not been able to resolve my issue.
For testing purposes i created a very simple WCF service that takes no arguments and returns true. That is all it does.
When i create a winform client and instantiate the service i can run my service method and get true back so i know the service works.
I then create a test SSIS package with 1 task, a web service task.
I set the web service tasks properties as follows:
http connection: http://localhost/WCF_SSIS_Prototype/Service1.svc
wsdl file: C:\...\SSIS_WCF_Prototype\Service1.wsdl (I know this is not a valid path, i changed it for posting to forum)
Service: Service1
Method: GetData
Variable: User::BResult
When i run the package i get the following error:
[Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Method 'ProxyNamespace.Service1.GetData' not found.. at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection) at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection) at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
I'm not sure why it is saying "Method 'ProxyNamespace.Service1.GetData' not found. It the web service task trying to create a proxy class and naming the proxy class namespace ProxyNamespace?
Any help is greatly appreciated.Hi,
How do you get around the same issue if your string type is based on a client token ? I downloaded the .wsdl file, was able to see the service name, method and when selecting a method type, I am required to provide a client token which was given
to me. (Name column = clienttoken, Type = string, Value = 2227656 - ec8922 (client token numbers goes there)? I am new to use ssis and need your help please
error message: Web Service Task] Error: An error occurred with the following error message:
"Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The web serrvice threw an error during method execution. The error is: An error occurred
when verifying security fro the message..
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection)
at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()"
Thank you and regards,
Bili -
XML Parser Error while creating Web service Client using JAX RPC
hello evryone,
Im facing XML Parser Error while creating web service client using JAX RPC. Im using Net Beans IDE for development purpose. I have wrote configuration file for client. Now i want to create Client stub. However i dont know how to do this in Net Beans. So i tried to do it from Command promt using command :
wscompile -gen:client -d build -classpath build config-wsdl.xml
here im getting Error:
error parsing configuration file: XML parsing error: com.sun.xml.rpc.sp.ParseException:10: XML declaration may only begin entities
Please help me out.
Many thanks in advance,
KaceeCan i use the client generated using jdeveloper 11g to import into the oracle forms 10g, i.e., form builder 10g. Currently this is the version we have in our office.
-
Error creating a web service client from th WSDL document (soamanager)
Hello everyone,
we have generate with the wizard a web-service using the function module BAPI_CONTROL_RECIPE_GET_LIST. Then we have generated with SOAMANAGER the end point. As test, we have used a web-service explorer of Eclispe and we can retrieve without problems the data.
Then we wanted to generate the web-servcie client with Eclipse Galileo (3.5.0) wiith the server GlassFish v2.1 Java EE 5 we first installed the WSIT jars, in order to support WS-RM protocol
We have started the generation based on the document obtainend within the soamanager under the "Open WSDL document for selected binding" link.
We have tried it several times and we always got the following error is:
IWAB0399E Error in generating Java from WSDL: WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy):
faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.: <br>
WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
Do you know if we took the right document in order to generate the web-service client? Do we need to have some specifics settings in the configurations of th endpoint? (provider security, transport settings, etc...?)
If needed, or if someone would be nice enough to try to generate it on its side, I can post here the whole wsdl document, but due to its length, I first wait your comments.
Thanks a lot in advance for your feed-back
best regards
Pierre-André
addtions:
maybe this should have been better posted within the forum Service-Oriented Architecture than standards?
I forgot to mention the following threads, which seems to me to be somehow in this direction. But I do not get really how I could use them, or how is is releated.
Edited by: Pierre-andre Jacquod on Sep 23, 2009 4:02 PMHi,
I am facing the same issue while generating the client java class from IBM RAD 6.0.
Here is the error I am getting.
WSDLException (at /wsdl:definitions/wsdl:portType/wsp:Policy): faultCode=INVALID_WSDL: Encountered unexpected element 'Policy'.:
[java] at com.ibm.wsdl.util.xml.DOMUtils.throwWSDLException(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parsePortType(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:516)
[java] at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:495)
[java] at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
[java] at java.lang.Thread.run(Thread.java:571)
Please guide me to resolve this issue.
Thanks & Regards,
Vijay -
Oracle Database Web Service Client using UTL_DBWS :: ORA-29532 Error
Hi,
I have the Oracle Database 10.2.0.1.0 :-
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - ProductionI have written a simple Web Services Client using the classes gfrom the UTL_DBWS package. I loaded the JAR file dbwsclient.jar in the SYS Schema and I am trying to use it in the USF Schema.
However, I have hit this error & I ma unable to proceed :-
SQL> select get_stock_price from dual;
select get_stock_price from dual
ERROR at line 1:
ORA-29532: Java call terminated by uncaught Java exception:
java.lang.IllegalAccessException: javax.xml.rpc.ServiceException:
java.security.AccessControlException: the Permission
(java.lang.RuntimePermission getClassLoader) has not been granted to USF. The
PL/SQL to grant this is dbms_java.grant_permission( 'USF',
'SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
ORA-06512: at "USF.UTL_DBWS", line 193
ORA-06512: at "USF.UTL_DBWS", line 190
ORA-06512: at "USF.GET_STOCK_PRICE", line 17Can you please help me with this ?
Regards,
SandeepHi,
The error message said
the Permission(java.lang.RuntimePermission getClassLoader) has not been granted to USF.
I'd follow the suggestion
The PL/SQL to grant this is dbms_java.grant_permission( 'USF','SYS:java.lang.RuntimePermission', 'getClassLoader', '' )
In case you have not done so, consult the Callout Users Guide @
http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
Kuassi http://db360.blogspot.com -
Error when creating web service client in netbeans
i tried to create a web service client from a wsdl and an error pops up:
web service client can not be created by jaxws:wsimport utility.
reason: com.sun.tools.xjc.api.schemacompiler.resetschema()v
There might be a problem during java artifacts creation: for example a name conflict in generated classes.
To detect the problem see also the error messages in output window.
You may be able to fix the problem in WSDL Customization dialog
(Edit Web Service Attributes action)
or by manual editing of the local wsdl or schema files, using the JAXB customization
(local wsdl and schema files are located in xml-resources directory).
end of error message
I am using netbeans 6.0 RC 2 and the bundled tomcat 6.0.13. Please help me.Hi Yatan
The error is mostly there may be some Duplicate variable/schema element decalared in the wsdl or the xsd referred in the wsdl. Like in WSDL for any Operations, most of the times, we use input and outputs as complex xsd element. We declare these xsd in the same file or in another file and import that in the .wsdl file. So check or validate your XSD file for any Duplicates.
In JDeveloper itself, I think, you can open XSD or WSDL and validate it from right click menu options like that.
Thanks
Ravi Jegga -
Hello,
I created new Web service client using WL 8.1, axis 1.4 , JDK 1.4.2 . The Service is hosted by my vendor and it's on asp/.net.
I used axis to create stub implemetation and when i invoke the service , i get the following error . I googled out the error and i see lot of them complain this as an axis issue.
Does anyone faced this error before ? or found an workaround for this?
Error message :-
2009-09-16 15:11:52,299] [DEBUG] [org.apache.axis.utils.XMLUtils] - Failed to set EntityResolver to null on DocumentBuilder
java.lang.NullPointerException
at weblogic.xml.jaxp.ChainingEntityResolver.popEntityResolver(ChainingEntityResolver.java:61)
at weblogic.xml.jaxp.RegistryDocumentBuilder.setEntityResolver(RegistryDocumentBuilder.java:168)
at org.apache.axis.utils.XMLUtils.releaseDocumentBuilder(XMLUtils.java:252)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:342)
Thanks in advance.
Thanks,
SubuYou made proxy client not a client.
I think u did not make any mistake to generate the proxy client but most probably ur web service-- message format is not rpc/encoded. Check it. hope u will succeed -
Error when calling BPEL process from web service client
I have created three projects here ,there're no problem when testing Composite Application(SynchronousSampleApplication) by test case inside this project.
When I create a Java Application(SynchronousSampleApp),inside this project I've created a web service client from file WSDL of BPEL. After that, In Main class, I call an operation from web service client.But have the following error:
Jul 17, 2008 4:48:22 PM synchronoussampleapp.Main main
SEVERE: null
java.rmi.RemoteException: HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"; nested exception is:
HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"
at SynSample.SynchronuosSamplePortType_Stub.synchronuosSampleOperation(SynchronuosSamplePortType_Stub.java:83)
at synchronoussampleapp.Main.main(Main.java:24)
Caused by: HTTP transport error: java.net.MalformedURLException: For input string: "${HttpDefaultPort}"
at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:140)
at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96)
at SynSample.SynchronuosSamplePortType_Stub.synchronuosSampleOperation(SynchronuosSamplePortType_Stub.java:67)
... 1 more
Please help me soon. Thanks very much!Can't anyone help me? I'm using Netbean 6.1 and Glassfish server.
Do I need any additional plugin? -
Timeout error at J2EE Web Service client
i have a .NET web service. a J2EE web service client deployed on Websphere application server 5.1 is invoking it. some services on .NET end take a long time to return a value. in such cases, the following error occurs on J2EE end. please suggest a solution.
faultCode: Server.generalException
faultString: java.net.SocketTimeoutException: Read timed out
faultActor: null
faultDetail:
java.net.SocketTimeoutException: Read timed out
at com.ibm.ws.webservices.engine.WebServicesFault.makeFault(WebServicesFault.java:150)
at com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:200)
at com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:212)
at com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:255)
at com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:685)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:611)
at com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:441)
at com.ibm.ws.webservices.engine.client.Stub$Invoke.invoke(Stub.java:662)Hi, am also getting time out .. excepiton in client
i added the following code inside stub class constructer...
System.out.println("GET TIME OUT ::::"+super.getTimeout());
super.setTimeout(77777);
System.out.println("GET TIME OUT AFTER SET::"+super.getTimeout());
compilation success. However am getting runtime exception after the sop.
GET TIME OUT ::::0
javax.xml.rpc.ServiceException: WSWS5014E: Error instantiating generated Stub class.
can you please tell me how u solved the issue.
Thanks
Bogi -
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 -
Visual Studio generates wrong proxy and client config for WCF Service Host with customBinding
Hi,
I have a simple WCF test service.
The serviceModel configuration for the looks like this:
<system.serviceModel>
<bindings>
<customBinding>
<binding name="NewBinding0">
<byteStreamMessageEncoding>
<readerQuotas maxDepth="10" maxStringContentLength="10000" maxArrayLength="10000"
maxBytesPerRead="1000" maxNameTableCharCount="200" />
</byteStreamMessageEncoding>
<tcpTransport />
</binding>
</customBinding>
</bindings>
<diagnostics>
<messageLogging logMalformedMessages="true" logMessagesAtTransportLevel="true" />
</diagnostics>
<services>
<service name="WcfServiceLibrary2.Service1">
<endpoint address="mex" binding="mexHttpBinding" name="mexName"
contract="IMetadataExchange" />
<endpoint address="net.tcp://localhost:8734/WcfServiceLibrary2/Service1.svc"
binding="customBinding" bindingConfiguration="NewBinding0" name="tcpName"
bindingName="" contract="WcfServiceLibrary2.IService1" />
<host>
<baseAddresses>
<add baseAddress="http://localhost:8733/Design_Time_Addresses/WcfServiceLibrary2/Service1/" />
</baseAddresses>
</host>
</service>
</services>
<behaviors>
<serviceBehaviors>
<behavior name="">
<serviceMetadata httpGetEnabled="true" />
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
</system.serviceModel>
However the auto generated client side serviceModel looks like this:
<system.serviceModel>
<bindings>
<customBinding>
<binding name="tcpName">
<textMessageEncoding messageVersion="Soap12" />
<tcpTransport />
</binding>
</customBinding>
</bindings>
<client>
<endpoint address="net.tcp://localhost:8734/WcfServiceLibrary2/Service1.svc"
binding="customBinding" bindingConfiguration="tcpName" contract="ServiceReference2.IService1"
name="tcpName" />
</client>
</system.serviceModel>
Note the Encoding has changed to from byteStreamMessageEncoding to textMessageEncoding.
When I test the service with WCF Test Client, I get the error "Addressing Version 'AddressingNone (http://schemas.microsoft.com/ws/2005/05/addressing/none)' does not support adding
WS-Addressing headers."
The error message makes sense in considering the client is mis-configured. I could manually modify the client side configuration, but I don't know how to give that to the WCF Test Client.
When I run my own test client code, I get a NullReferenceException creating the Channel
at System.Text.UTF8Encoding.GetByteCount(String chars)
at System.ServiceModel.Channels.EncodedFramingRecord..ctor(FramingRecordType recordType, String value)
at System.ServiceModel.Channels.EncodedContentType.Create(String contentType)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.CreatePreamble()
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel..ctor(ChannelManagerBase factory, IConnectionOrientedTransportChannelFactorySettings settings, EndpointAddress remoteAddresss, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool, Boolean exposeConnectionProperty, Boolean flowIdentity)
at System.ServiceModel.Channels.ConnectionOrientedTransportChannelFactory`1.OnCreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverDuplexSession.CreateInnerChannelBinder(EndpointAddress to, Uri via)
at System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
at System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
at System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
at System.ServiceModel.ClientBase`1.CreateChannel()
at System.ServiceModel.ClientBase`1.CreateChannelInternal()
at System.ServiceModel.ClientBase`1.get_Channel()
at ConsolWCFTestApp.ServiceReference2.Service1Client.GetXSDFiles(String path) in c:\Users\malley\Documents\Visual Studio 2013\Projects\WcfService1\ConsolWCFTestApp\Service References\ServiceReference2\Reference.cs:line 127
at ConsolWCFTestApp.Program.Main(String[] args) in c:\Users\malley\Documents\Visual Studio 2013\Projects\WcfService1\ConsolWCFTestApp\Program.cs:line 14
at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Any suggestions much appreciated.
MartinHi Martin00,
I have tested your code in my side and I can meet the same exception as you.
>>"Addressing Version 'AddressingNone (http://schemas.microsoft.com/ws/2005/05/addressing/none)' does not support adding WS-Addressing headers."
Based the above exception, I try to use the following config:
<textMessageEncoding messageVersion="Soap12" />
Instead of this config code:
<byteStreamMessageEncoding>
<readerQuotas maxDepth="10" maxStringContentLength="10000" maxArrayLength="10000"
maxBytesPerRead="1000" maxNameTableCharCount="200" />
</byteStreamMessageEncoding>-->
After that it works fine as following:
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.
Maybe you are looking for
-
Terrible Customer Support and now I have to pay for their mistakes
A friend told me about a promo plan she was on, it was the 20 off data plan. So I got interested and called in to get some information about it. I ended up signing up for the plan around Jan. 27th. I then noticed that the iphone 4 was available fo
-
Play count view in iTunes 11.0.1
Is it true that Play Count option only functions in the 'Songs' window now? If so, it's disappointing because I use it a lot and would like to use it in the other view windows such as 'Album' or 'Artist' as well.
-
Item not displaying after upgrade in to 12.1.3 from 12.0.6
Items are not displaying in iStore front end pages after upgrading the instance from 12.0.6 to 12.1.3. We are getting the below error messages while checking the view pages source. oracle.apps.jtf.base.resources.FrameworkException: Error in IAS Cach
-
Executing servlet in command prompt
Can we run the servlet in the cmd prompt . I am using tomcat5 server in windows Environment .
-
Hello, I have an XML document that does not have any space between brackets as follows: <?xml version="1.0" encoding="UTF-8"?> <root><One><a>toto</a><a>titi</a></One><One><a>tata</a><a>tutu</a></One></root>I have been looking for an XSLT script that