Problem accessing web service: unexpected XML tag
Hi,
I access a web service with SOAP 1.2 via HTTP 1.1. I used wsimport on the WSDL to generate the stubs (I only use Java 6).
The web service is a php-Script running on a web server (maybe delegates this in the background, I have no access nor intimate knowledge of the server). This script provides both the WSDL (via GET) and the service (via POST). When I use my generated client I always end up with the same exception:
Exception in thread "main" com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://www.w3.org/2003/05/soap-envelope}Envelope but found: {http://schemas.xmlsoap.org/wsdl/}definitions
at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:203)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:186)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:163)
at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:135)
at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:294)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:173)
at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:88)
at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
at com.sun.xml.ws.client.Stub.process(Stub.java:248)
at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:134)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:244)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
at $Proxy45.hello(Unknown Source)
at client.Client.main(Client.java:37)The exception occurs in the line with the first use of a service method. Somehow the service seems to issue a GET rather than a POST and ends up requesting the WSDL file which generates parsing errors.
So the code looks something like this:
Service service = new Service();
ServicePort port = service.getServicePort();
port.soSomething(); // <- exceptionThe conversation is SSL encrypted so I can't look at the conversation in Wireshark or similar tools. Maybe there is a problem because the same URL is used for both WSDL and SOAP?
My apologies. It was a server problem.
Similar Messages
-
Problem accessing web service, error 2032 Stream Error
I'm building a small flex app hat uses two web services
provided by the same coldfusion CFC.
I've verified that I can successfully access the web services
via HTTP, and one of the web services actually does work when
called. Both return structures that contain a string var, a numeric
var, and one or more query vars.
Here is my web service declaration:
quote:
<mx:WebService id="ws"
wsdl="https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc?wsdl"
useProxy="false">
<mx:operation name="queryDB" result="queryDBResult()"
fault="queryDBFault(event)">
<mx:request>
<RUNDATE>{cboRunDate.selectedItem.XDATE}</RUNDATE>
<ENTITYID>{txtEntityID.text}</ENTITYID>
<LASTNAME>{txtLastName.text}</LASTNAME>
<FIRSTNAME>{txtFirstName.text}</FIRSTNAME>
<MINITIAL>{txtMiddleInitial.text}</MINITIAL>
<PRFSCHCD>{cboPreferredSchool.selectedItem.TABLKEY}</PRFSCHCD>
<PRRECTYP>{cboRecordType.selectedItem.TABLKEY}</PRRECTYP>
<PRFCLASS>{txtPreferredClass.text}</PRFCLASS>
</mx:request>
</mx:operation>
<mx:operation name="getListData"
result="getListDataResult()" fault="getListDataFault()"/>
</mx:WebService>
Sorry if the formatting sucks, I don't know how to post
"code" here.
Anyway, the getListData() method works fine and populates my
list boxes. But when I call the queryDB() method, I get the
following fault event:
quote:
[FaultEvent fault=[RPC Fault faultString="HTTP request error"
faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent
type="ioError" bubbles=false cancelable=false eventPhase=2
text="Error #2032: Stream Error. URL:
https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc"].
URL:
https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc"]
messageId="1E553B99-DF28-ED72-62B8-B84AA3919F9A" type="fault"
bubbles=false cancelable=true eventPhase=2]
I've looked all over the place and I can't seem to find what
this error means. I've tried all kinds of different ways of doing
things. Right now I'm browsing the flex app via a file URL (C:\...)
but I tried putting it up on the server too and that didn't work
either.
The method call *DOES* work when called via HTTP... ie
https://www.it.dev.duke.edu/components/dukemagsearch/checkMailing2.cfc?method=queryDB&RUND ATE=2006-05-19&FIRSTNAME=&LASTNAME=SMITH&MINITIAL=&PRFSCHCD=&PRRECTYP=AL&PRFCLASS=&ENTITYI D=
(You have to be logged in for that to work so you'll just
have to trust me, it returns no records if you're not logged into
the web site already).
I'm totally stressing out about this because I've essentially
spent the entire day since 8am trying to solve this. The
application should've taken 15 minutes total.
HELP!
Thanks for any suggestions y'all have.
RickIt means your output was not formed correctly and could not
be parsed. set up a server side script or something to check that
the output is indeed what you think it should be, 99% of the time i
get thie error its due to malformed output from my webservice or
db. Also try making an xml model of your target data to test the
application internaly, look up model in the docs, it easy to use
and if the model works then you know the data is faulty and you
need to check your output and queries. -
Problems accessing Web service from registry server
"Hi,
While trying to develop a dynamic webservice, I encounter some problems.
The details are as follows:
I develop a webservice with following interfaces and implementation
classes:
Interface : pricequote.IPriceQuote
Implementation : pricequote.PriceQuoteImpl
The service does get registered on the XINDICE registry server. ( I am
using JWSDP to develop the above), and also is deployed on the tomcat
server.
I have specified the following path for the service end point:
http://localhost:8080/PriceQuoteService/pricequote/IPriceQuote
But when I call the sayHello(String strName) method, I get the following
error:
[java] java.rmi.RemoteException: cannot connect to server: /PriceQuoteServi
ce/pricequote/IPriceQuote; nested exception is:
[java] cannot connect to server: /PriceQuoteService/pricequote/IPriceQu
ote
[java] at pricequote.IPriceQuote_Stub.sayHello(IPriceQuote_Stub.java:76
[java] at pricequote.PriceQuoteClient.getData(Unknown Source)
[java] at pricequote.PriceQuoteClient.main(Unknown Source)
[java] Caused by: cannot connect to server: /PriceQuoteService/pricequote/I
PriceQuote
[java] at com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpCl
ientTransport.java:119)
[java] at com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.
java:73)
[java] at pricequote.IPriceQuote_Stub.sayHello(IPriceQuote_Stub.java:59
[java] ... 2 more
BUILD SUCCESSFUL
Total time: 3 secondsNo..
Not able to to open the WSDL either..Getting HTTP status 404..
The location http://localhost:8080/PriceQuoteService does open, though it doesnt't have any web pages. The organization data is accessible from registry-server also.
---Original Message----
are you able to access this endpoint through a browser
what happens when you do
http://localhost:8080/PriceQuoteService/pricequote/IPri
eQuote?WSDL
using IE ? do you see the WSDL in your IE window ?
Do you see the port info getting populate under the
service section at the base of the WSDL ? -
Problem while testing a BAPI Web Servicei face this problem in web service
i face this problem in web service bapi when i am carrying out the submit test... so can anyone help me???
HTTP/1.1 500 Internal Server Error
Set-Cookie: <value is hidden>
content-type: text/xml; charset=utf-8
content-length: 803
sap-srt_id: 20080610/144609/v1.00_final_6.40/DD36B8E7DE44B5F19BA900145E6770F3
server: SAP Web Application Server (1.0;700)
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"><soap-env:Body><soap-env:Fault><faultcode>soap-env:Client</faultcode><faultstring xml:lang="en">Deserialisation failed</faultstring><detail><n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates"><MainName>/1BCDWB/WSS0080610064309718000</MainName><ProgName>/1BCDWB/WSS0080610064309718000</ProgName><Line>128 </Line><Valid>X</Valid><ReferenceFault><DescriptionText>Error accessing the ref. node 'EMPLOYEENUMBER'</DescriptionText><RefName>EMPLOYEENUMBER</RefName></ReferenceFault><Caller><Class>CL_SRG_RFC_PROXY_CONTEXT</Class><Method>IF_SXML_PART~DECODE</Method><Positions>1 </Positions></Caller></n0:SimpleTransformationFault></detail></soap-env:Fault></soap-env:Body></soap-env:Envelope>Hi,
since I did not find that BAPI in my system: what is the exact name?
Did you test the BAPI directly in ABAP, i.e. function builder SE37, successfully?
Currently it looks to me as if you did not provide sufficient business data.
Did you specify the employee number before executing the call? -
Not able to access web service with axis and tomcat
Dear all
i am trying to access web service using axis in tomcat.
i downloaded axis-bin-1_4.zip, unzipped it and installed it properly in tomcat.
i had tested axis, its working fine.
i had created a simple java class(a sample class from book) and deployed it in axis. i also created a client(a java consol class) for accessing that web service. but its giving error. i have no idea why this is comming.
plz point me in right direction.
thanks in advance
The error is:
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)/axis/ArithmeticProcessor.jws
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html><head><title>Apache Tomcat/6.0.14 - Error report</tit
le><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;ba
ckground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;
color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Ari
al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-f
amily:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-famil
y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:
Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
black;}A.name {color : black;}HR {color : #525D76;}--></style> </hea
d><body><h1>HTTP Status 404 - /axis/ArithmeticProcessor.jws</h
1><HR size="1" noshade="noshade"><p><b>
type</b> Status report</p><p><b>message</b> <u&
gt;/axis/ArithmeticProcessor.jws</u></p><p><b>descriptio
n</b> <u>The requested resource (/axis/ArithmeticProcessor.jws) is n
ot available.</u></p><HR size="1" noshade="noshade
"><h3>Apache Tomcat/6.0.14</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:404
(404)/axis/ArithmeticProcessor.jws
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at ArithmeticClient.main(ArithmeticClient.java:50)Hi ,
Please go through this link and check in this way only you created the webservice correctly or not. If not follow and do it definitely will get you the webservice access by iphone or any application.
www.scribd.com/doc/19255987/Web-Services-in-Abap -
Not able to access Web services
Hi all,
I am trying to access web services using the transaction WSADMIN.
But when i give the authorization while generating the WSDL, the following error pops up:
<b>Technical Details of Soap Core Exception
Message Text: SRT: ASSERT failed: object reference not bound
Class: CL_SOAP_REGISTRY
Method: generate_wsdl
LocationID: 6
Program: CL_SOAP_REGISTRY==============CP
Include: CL_SOAP_REGISTRY==============CM00J
Line: 59</b>
Can anyboby share his/her insights in this regard?
Thanks,
AnkitHi Fernando,
Thanks for this.
I was able to activate and deactivate the services. But i was not able to test these services (HTTP 500 Internal server error).
Also the services which are listed in the trnx SICF are not present in the trnx WSADMIN (I am using trnx WSADMIN to go to the home page of the web service and download the WSDL file of the service). What may be the reason?
Is there some configuration setting which I am missing or is it some other problem?
Regards,
Ankit -
How do i access web services on my hp deskjet 3050a printer
how do i access web services on my hp deskjet 3050a printer?
Hi
Please find the link given below might help you to resolve your issue.
Getting Started with EPrint
Let us know how it goes!
"I work for HP."
****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
****Please mark Accept As Solution if it solves your problem****
Regards
Manjunath -
Error at run time When Access Web Service in web dynpro java
Hi
I am used web service created on other machine.I am used wsdl file created in web service.
is there any setting on J2EE Engine server for accessing web service? after run web dynpro application it gives following error.
The initial exception that caused the request to fail, was:
java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out:could be due to invalid address.
at com.tssap.dtr.client.lib.protocol.Connection.openSocket(Connection.java:2117)
at com.tssap.dtr.client.lib.protocol.Connection.open(Connection.java:1380)
at com.tssap.dtr.client.lib.protocol.Connection.sendInternal(Connection.java:1534)
at com.tssap.dtr.client.lib.protocol.Connection.send(Connection.java:1427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... 50 more
please help me.
thank in advanceHi,
java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out: could be due to invalid address. first check it are you able to connect the WSNavigator. I think you are not able to connect the WSNavigator and are you able to see the WebService in WSNavigator?
Procedure
To import a Web service model, proceed as follows:
1. Choose the context menu entry -
Create Model on the -
Models node of the relevant component.
2. In the model wizard, choose Import Web Service Model followed by Next.
3. In the second wizard window, enter a model name and specify the package and source code directory. The name of the proxy package is created automatically when you specify the model package.
4. Select whether your Web service source is from a local server, is addressed using a URL, or whether it is a UDDI service.
5. If you select Local File System or URL, choosing Next will take you to the following window in which you enter a local WSDL URL or select one by choosing Browse.
6. If you selected the option UDDI or URL, choosing Next will take you to the following wizard window in which you either enter a WSDL URL of a UDDI service directly or select one by choosing UDDIu2026
Enter the WSDL description of the Web service in the Wsdl field u2013 for example, http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService for an e-mail service.
You do not need to make any entries in the next step, Proxy Definition / URI Package Mappings. Choose Finish to close the window.
7. Switch to the Package Explorer view, select the file lport1.lp in the directory \src\packages\<myPackage>\, and check the port entries.
Hope this helps!!
Regards
Vijay -
How to check error type in accessing web service?
Dear all,
I have created a form using WSDL connection to access web service in SOAP protocol.
But I have difficulties in error handling when acccessing web service.
I try to put a try catch block for the following statement :
ie. xfa.connectionSet.WebServiceDC.execute(false);
in case for any error, I can only catch message saying GeneralFault only.
Is there any extra object in the script that I can catch to handle for different error type?
e.g checking SOAP.? and where should I put the codes in?
Actualy I want to detect if network connection is not ok or if it fails to find ecert which is required under https connection
Rgds.Have you tried the try catch block ?
See the error codes it responds with.
Then look through the properties of the Exception
try
doInit();
} catch(err)
var vDebug = "";
for (var prop in err)
vDebug += "property: "+ prop+ " value: ["+ err[prop]+ "]\n";
vDebug += "toString(): " + " value: [" + err.toString() + "]";
status.rawValue = vDebug;
function doInit()
doWebServiceCallThatFails();
Have fun with these articles
http://blogs.adobe.com/formfeed/2009/06/collected_form_development_and.html
http://blogs.adobe.com/formfeed/2009/03/handling_javascript_exceptions.html -
Web service connection problem via web service data control (SOAP/REST)
Hi
I developed a simple "hello word" web service that I deployed on Integrated WLS.
Web service works fine - I tested it from SoapUI.
I created another application to call "hello word" using "web service data control (SOAP/REST)" in JDeveloper.
When I test it via "Oracle ADF Model Tester" application works as I'm expecting, but when I create JSPX page,
drag and drop webservice method as ADF parameter form and run it receive notification (screenshot):
"WSM-07620 : Agent cannot enforce policies due to either failure in retrieving polices or error in validations, detail= "WSM-02557 The documents required to configure the Oracle Web Services Manager runtime have not been retrieved from the Policy Manager application (wsm-pm), possibly because the application is not running or has not been deployed in the environment. The query "&(@appliesTo~="WS-CONNECTION()")(policysets:global/%)" is queued for later retrieval. "."
What I'm doing wrong?
Why I'm able to access web service from any other application but not from jdeveloper?
RegardsHi,
I am not sure which JDev you are using, but looks like you have some policies setup for WSDC using GPA (global policy attachment) and your policy manager(wsm-pm) is not running. Can you check if the wsm-pm application is properly deployed in your Integrated WLS. You can see this from the list of deployed apps in WLS console.
-Vishal -
How to consume/access web services in forefront identity manager 2010 r2
Hi,
I have one web service in c# for authentication so i want to integrate this web service in my FIM 2010 R2.I want to ask one more question how to consume/access web service of FIM 2010 R2,so please tell me how is it possible in FIM 2010 R2 and
anybody have any example for consuming/accessing web service step by step in FIM 2010 R2.
Regards
Anil KumarHere is some C# code that accesses FIM resource attributes from the web services via the FIM 2010 Resource Management Client which I mentioned in an earlier post:
using System;
using System.Collections.Generic;
using Microsoft.ResourceManagement.Client;
using Microsoft.ResourceManagement.ObjectModel;
namespace MyTest
public partial class ResourceAttribute
public ResourceAttribute()
public string GetTypeAndDisplayName(string objectID)
String ReturnValue = String.Empty;
using (Microsoft.ResourceManagement.Client.DefaultClient client = new DefaultClient())
client.ClientCredential = CredentialCache.DefaultNetworkCredentials;
client.RefreshSchema();
string query = String.Format("/*[ObjectId={0}]", objectID);
foreach (RmResource res in client.Enumerate(query))
String displayName = res.DisplayName;
String objectType = res.ObjectType;
ReturnValue = displayName + " (" + objectType + ")";
break;
return ReturnValue;
You would just need to define your bindings and endpoints in your web.config. This method will return the DisplayName and ObjectType for the resource with the ObjectId matching the objectID argument. If you need more information, please provide more specifics
for what you are trying to accomplish.
There are many code examples for this library on its CodePlex home:
http://fim2010client.codeplex.com/ -
Recently added to DCI's Corporate and e-Business Portals
Conference:
Databases, Portals, Web Services, and XML Integration Magic
When: July 29, 2001, 9:00 AM - 5:00 PM
Where: Hynes Convention Center, Boston
http://www.dci.com/brochure/porbos/seminars.aspRecently added to DCI's Corporate and e-Business Portals
Conference:
Databases, Portals, Web Services, and XML Integration Magic
When: July 29, 2001, 9:00 AM - 5:00 PM
Where: Hynes Convention Center, Boston
http://www.dci.com/brochure/porbos/seminars.asp -
Can anybody tell how to access web service from Message Driven bean
Can anybody tell how to access web service from Message Driven bean
Can anybody tell how to access web service from Message Driven bean
-
Problem with web service proxy and connections.xml
JDev 11.1.14
Hello
I'm trying to create a web service proxy that takes advantage of the connections.xml so that the endpoints can be changed without recompiling the code (as described here http://download.oracle.com/docs/cd/E17904_01/web.1111/b31974/web_services.htm#ADFFD548 - 13.2.2 How to Create a New Web Service Connection)
I created the web service proxy using the Jdev wizard and a test client. The access to the web service works as expected.
The client test code is :
package model;
import ch.mit.trac.ws.proxy.*;
import ch.mit.trac.ws.root.Currency;
import javax.naming.NamingException;
public class wsTest {
public wsTest() {
super();
public void testIt() throws NamingException {
CurrencyConvertor currencyConvertor = new CurrencyConvertor();
CurrencyConvertorSoap currencyConvertorSoap = currencyConvertor.getCurrencyConvertorSoap();
Double res = currencyConvertorSoap.conversionRate(Currency.CHF, Currency.USD);
System.out.println("Hello");
System.out.println(res);
public static void main(String [] args) throws NamingException {
wsTest tt = new wsTest();
tt.testIt();
}I then create a connection as described in the docs.
I now have a connections.xml as follows:
<?xml version = '1.0' encoding = 'UTF-8'?>
<References xmlns="http://xmlns.oracle.com/adf/jndi">
<Reference name="CurrencyConvertor" 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/WebServiceTest/Model/src/ch/mit/trac/ws/proxy/CurrencyConvertor.wsdl" service="{http://www.webserviceX.NET/}CurrencyConvertor">
<model name="{http://www.webserviceX.NET/}CurrencyConvertor" xmlns="http://oracle.com/ws/model">
<service name="{http://www.webserviceX.NET/}CurrencyConvertor">
<port name="CurrencyConvertorHttpPost" binding="{http://www.webserviceX.NET/}CurrencyConvertorHttpPost">
<operation name="ConversionRate">
<output name=""/>
<input name=""/>
</operation>
</port>
<port name="CurrencyConvertorHttpGet" binding="{http://www.webserviceX.NET/}CurrencyConvertorHttpGet">
<operation name="ConversionRate">
<output name=""/>
<input name=""/>
</operation>
</port>
<port name="CurrencyConvertorSoap12" binding="{http://www.webserviceX.NET/}CurrencyConvertorSoap12">
<soap addressUrl="http://www.webservicex.com/CurrencyConvertor.asmx" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
<operation name="ConversionRate">
<soap soapAction="http://www.webserviceX.NET/ConversionRate" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
<output name=""/>
<input name=""/>
</operation>
</port>
<port name="CurrencyConvertorSoap" binding="{http://www.webserviceX.NET/}CurrencyConvertorSoap">
<soap addressUrl="http://www.webservicex.com/CurrencyConvertor.asmx" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
<operation name="ConversionRate">
<soap soapAction="http://www.webserviceX.NET/ConversionRate" xmlns="http://schemas.xmlsoap.org/wsdl/soap/"/>
<output name=""/>
<input name=""/>
</operation>
</port>
</service>
</model>
</wsconnection>
</Contents>
</XmlRefAddr>
</RefAddresses>So far so good.
I then created a new jspx page with a button that calls a method in a request scoped bean.
The method is supposed to use the connections.xml to get the web service proxy in order to call the web service.
The bean code is as follows :
package ch.mit.test;
import javax.faces.event.ActionEvent;
import ch.mit.trac.ws.proxy.*;
import ch.mit.trac.ws.root.Currency;
import javax.naming.Context;
import javax.naming.NamingException;
import oracle.adf.model.connection.webservice.api.WebServiceConnection;
import oracle.adf.share.ADFContext;
public class test {
public test() {
public void testIt() throws NamingException {
Context ctx;
ctx = ADFContext.getCurrent().getConnectionsContext();
WebServiceConnection wsc;
wsc = (WebServiceConnection) ctx.lookup("CurrencyConvertor");
CurrencyConvertor currencyConvertor = wsc.getJaxWSPort(CurrencyConvertor.class); -- NPE here
CurrencyConvertorSoap currencyConvertorSoap = currencyConvertor.getCurrencyConvertorSoap();
Double res = currencyConvertorSoap.conversionRate(Currency.CHF, Currency.USD);
System.out.println("Hello");
System.out.println(res);
public void testws(ActionEvent actionEvent) {
try {
testIt();
} catch (NamingException e) {
}When running the application and clicking on the button I keep getting the following error at the line marked NPE Here above:
<LifecycleImpl> <_handleException> ADF_FACES-60098:Le cycle de vie Faces reçoit des exceptions non traitées en phase INVOKE_APPLICATION 5
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:765)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:305)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.share.http.ServletADFFilter.doFilter(ServletADFFilter.java:62)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Caused by: 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:399)
at ch.mit.test.test.testIt(test.java:27)
at ch.mit.test.test.testws(test.java:41)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
... 44 moreCan anybody help as to what the problem is...
(the WSDL is at http://www.webservicex.com/CurrencyConvertor.asmx?WSDL)
Regards
PaulHi Frank
The page is ADF bound, I've added the page source and the adfc-config source below :
Page
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:form id="f1">
<af:commandButton text="commandButton 1" id="cb1"
actionListener="#{test.testws}"/>
</af:form>
</af:document>
</f:view>
</jsp:root>adfc-config
<?xml version="1.0" encoding="windows-1252" ?>
<adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
<view id="view1">
<page>/view1.jspx</page>
</view>
<managed-bean id="__4">
<managed-bean-name id="__3">test</managed-bean-name>
<managed-bean-class id="__2">ch.mit.test.test</managed-bean-class>
<managed-bean-scope id="__1">request</managed-bean-scope>
</managed-bean>
</adfc-config>It seems to be the same sort of problem as in Re: Error in ADF Web Service Connection
Regards
Paul -
Problem in accessing Web Services developed using JDeveloper 10.1.3
We have developed J2EE 1.4 JAX RPC Web Services using Jdeveloper 10.1.3.
I take the WSDL document generated by JDev and created Web Proxy for that WSDL.
I have developed the Swing Client for accessing the Web Service and when i tried to run from JDev it is working fine.
My requirement is to access the swing client from Java Web start.
When i tried to run from Web start, I am getting the following exception.
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:26)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.<init>(MasterDocumentWS_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.<init>(MasterDocumentWSSoapHttpPortClient.java:18)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:26)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.<init>(MasterDocumentWS_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.<init>(MasterDocumentWSSoapHttpPortClient.java:18)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:90)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<init>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<init>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:280)
... 39 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:88)
... 43 more
CAUSE:
javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:26)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.<init>(MasterDocumentWS_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.<init>(MasterDocumentWSSoapHttpPortClient.java:18)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:90)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:57)
at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.<init>(LiteralAnyElementSerializer.java:16)
at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.<init>(StandardLiteralTypeMappings.java:198)
at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:280)
... 39 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.<init>(LiteralFragmentSerializer.java:88)
... 43 more
java.lang.NullPointerException
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.registerSerializer(MasterDocumentWS_SerializerRegistry.java:95)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:32)
at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.<init>(MasterDocumentWS_Impl.java:26)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.<init>(MasterDocumentWSSoapHttpPortClient.java:18)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Now we struck with this error and I am not able to proceed further. Pl. help me in resolving the issue.
I shall be thankful to your help.
Regards...
Ravi KumarI am also having the same problem. Calling a web service inside JDeveloper 10.1.3.3 works fine. When I deploy to a jar file and include all Jars that the dependency analyzer identifies, the following error occurs:
standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
Your work around defining Java system properties does work, but why do we need to do this using the Oracle SOAP stack?
If there are alternatives to this problem please share. Thank you.
Maybe you are looking for
-
How to Disable Updates in Adobe Acrobat Standard
About 8 months ago we installed about 40+ Adobe Acrobat Standard 9.0 installations throughout our environment. We then have had the time to create a completely hands free installation .msi that disables the AutoUpdate feature and a configures a few
-
Dear Apple Inc. I would like to know if there is any possible way I can download Microsoft Powerpoint on my MacBook Pro OS X for free? I hope you can reply as soon as you can so I can be able to do all the projects being presented to me from sch
-
Hi! I was in the process of formatting my computer. Of course my iPhone 3G decided to quit during formatting leaving me with no backup of my phone. I was able to recover the MDDATA/BACKUP files from my formatted hard drive, but how can I import it in
-
Hi, I have a Oracle 10.2.0.4 Standard Edition database with a manual physical standby on a remote server. To synchronize my stnadby, I'm forcing a log switch then I copy the archive log on the standby site for recovery. I'm having several "Checkpoint
-
LR 1.3 Grid View Pixelation
Guys, I have recently upgraded to 1.3 from 1.2 on a new 2.8Ghz imac with 4GB running 10.5.1 using LR and I have noticed that the grid view in library mode shows pictures heavily pixelated for a few seconds when I scroll the grid view. After a few sec