Error in Create Web Service Reference
Hi ALL,
i am trying to create we service reference with wsdl url and i got the below error
1 error has occurred
* The WSDL document was unretrievable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests and you have not defined one for this application, or a wallet needs to be configured for this instance of Application Express for HTTPS requests.
Please through some light on this....
My Apex application server is SSL enabled.
Thanks in Advance,
Santhosh Tirunahari
Have you made sure you can see the WDSL if you paste the url in the browser?
Similar Messages
-
Error while creating web service reference
Hi,
I have very limited knowledge of web services. we have a BPEL implementation and I have been handed location to 3 wsdl files for which I am trying to create a web service reference(under shared component->logic) in apex(3.1.1). I am successfully able to create for 1 wsdl but for other two i get the below error.
"1 error has occurred
The WSDL document contains multiple SOAP bindings. Application Express only supports WSDL's with one SOAP binding. Click Create Web Service Reference Manually to continue creating a reference for this service."
looking at the working and not working wsdls, i see the following difference. i collapsed all the xml tags in the wsdl file and found that the one that is not working and giving above error has the below two tags twice with data in it.
<wsdl:portType name=
<wsdl:binding name=
any help to parse this wsdl in APEX be greatly appreciated.
thanks,
khanI have just read that " APEX does not support multiple binding web services currently" at http://oraclebizint.wordpress.com/category/apex/
..still reading it. though the post is dated back in 2008, I wonder why this functionality wasn't added to Apex. -
Error in creating Web service reference using WSDL
Hi Experts,
I'm using apex 4.1, Oracle 11g
ERROR MESSAGE: The WSDL document was unretrievable because either the URL you supplied was invalid, your environment requires a valid proxy server address for HTTP requests and you have not defined one for this application, or a wallet needs to be configured for this instance of Application Express for HTTPS requests
I know this is a famous issue apex devs faced. I'm having the same problem now. I went through many forums and websites and came to a conclusion that this is something to do with
ACL.
This is wat i'm trying.
1) I have Apex and my web service running on the same server. (We don't use proxy server to connect to W'service)
2) This is the path of the WDSL document i gave - 127.0.0.1/EPRWS/DashboardService.asmx?WSDL
3) I created a default Oracle Wallet by giving no other information other than user name password.
4) i gave the default wallet's user name, password in apex app.
5) The only data that I inserted into ACL table as follows,
BEGIN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL('power_users.xml',
'ACL that lets power users to connect to everywhere',
'FLOWS_030000', TRUE, 'connect');
DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL('power_users.xml','*');
END;
begin
dbms_network_acl_admin.add_privilege (
acl => 'power_users.xml',
principal => 'FLOWS_030000',
is_grant => TRUE,
privilege => 'connect'
END;
I guess the data inserted into ACL tables as given above to give user privilege is not accurate. Could someone explain me how to properly populate the ACL tables and what exactly needs to be inserted into both ACL tables ? And Should we give anyother information when we create a wallet to fix the able issue ?
Thanks in advance
Kurubaran.Thanks Role for your reply. As you said i used "APEX_040100". Following script did the magic and now i can call the service. :)
BEGIN
DBMS_NETWORK_ACL_ADMIN.create_acl (
acl => 'power_users.xml',
DESCRIPTION => 'A test of the ACL functionality',
principal => 'APEX_040100',
is_grant => TRUE,
privilege => 'connect',
start_date => SYSTIMESTAMP,
end_date => NULL);
DBMS_NETWORK_ACL_ADMIN.assign_acl (
ACL => 'power_users.xml',
HOST => '*',
LOWER_PORT => NULL,
upper_port => NULL);
DBMS_NETWORK_ACL_ADMIN.add_privilege (
acl => 'power_users.xml',
PRINCIPAL => 'APEX_040100',
is_grant => TRUE,
privilege => 'connect',
position => NULL,
start_date => NULL,
END_DATE => NULL);
COMMIT;
END;
BEGIN
DBMS_NETWORK_ACL_ADMIN.CREATE_ACL (
acl => 'proxy_rule.xml',
DESCRIPTION => 'A test of the ACL functionality',
principal => 'APEX_040000',
is_grant => TRUE,
privilege => 'connect',
start_date => SYSTIMESTAMP,
end_date => NULL);
DBMS_NETWORK_ACL_ADMIN.assign_acl (
ACL => 'proxy_rule.xml',
HOST => '*',
LOWER_PORT => '80',
upper_port => '80');
DBMS_NETWORK_ACL_ADMIN.add_privilege (
ACL => 'proxy_rule.xml',
PRINCIPAL => 'APEX_040000',
is_grant => TRUE,
privilege => 'connect',
position => NULL,
start_date => NULL,
END_DATE => NULL);
DBMS_NETWORK_ACL_ADMIN.add_privilege (
acl => 'proxy_rule.xml',
PRINCIPAL => 'APEX_040100',
is_grant => TRUE,
privilege => 'connect',
position => NULL,
START_DATE => NULL,
END_DATE => NULL);
COMMIT;
END;
/ -
Error creating web service reference
I am getting an error below when creating a web service reference from apex 4.2. Any idea on how to resolve it.
•The WSDL document could not be understood by the rendering engine. Click Create Web Service Reference Manually to continue creating a reference for this serviceI have just read that " APEX does not support multiple binding web services currently" at http://oraclebizint.wordpress.com/category/apex/
..still reading it. though the post is dated back in 2008, I wonder why this functionality wasn't added to Apex. -
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.
-
Creating Web Service Reference
I have no experience whatsoever with web services/soap/etc.
I am testing PayPal's Website Payments Pro to see if I can integrate it easily with HTML DB.
I click on my application, then go to Shared Components --> Web Service Reference --> Create
I select "No" for "Do you want to search a UDDI registry to find the WSDL?"
For WSDL Location, I enter:
http://www.sandbox.paypal.com/wsdl/PayPalSvc.wsdl
and click Next.
1 error has occurred
The WSDL document could not be understood by the HTML DB engine. I found no references in the forum to either "soap" or "wsdl."
Is there any documentation on this?
HTML DB version 1.6, DB 10.1
Thanks
chetApparently the search utility was broken the night/morning I posted this. I did find a few posts on others problems with WSDL. One in particular, Misunderstood WSDL file. suggested it might be Oracle's parsing or something like that.
I have read that there is not a W3C standard yet.
I really, really don't want to have to write java ever again. Please tell me there is a workaround...
chet
Message was edited by:
Chet Justice
Message was edited by:
Chet Justice -
Validation error while creating Web Service Proxy.
Hi,
I'm trying to create Web Service Proxy. But I'm stuck with a Validation error
model error: type
+"{http://xmlns.oracle.com/2001/XMLSchema/DOM}+
+org.w3c.dom.Document" not found.+
I'm using "Create Web Service Proxy" wizard. There are 6 steps in creating proxy through JDev. wizard.
First step itself displaying the above validation error when I click on "Next" button.
Few points
We have created web service using "oracle.j2ee.ws.StatelessJavaRpcWebService" servlet
Thanks in advance.
-SukumarHi,
It might be that the .net service which you have is not WS-I compliant. Can you first run WS-I Analyzer on the wsdl to see it the test passes.
Thanks,
Vishal -
Error while creating Web service
i have just started working on web service and have installed WAS .
i am trying to create a simple web service.
After creating an EJB when i try to click on Context Web Services-->>Create Web Service i get an error "IWAB0234E An internal error occurred.".
Thanks In advance.
pankajHi Pankaj,
This is a known WTP problem. See for example http://www.eclipse.org/webtools/jst/components/ws/M5/news/jst-ws-m5news.html and especially <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=99728">Bug 99728</a>.
Hopefully, if you select the configuration as "Server: SAP Server" and "Web service runtime: SAP Netweaver" on the first page of the wizard, this should work.
HTH!
-Vladimir -
Hi
I am on Jdev 11.1.2.4.0 Build JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436.1
When I am trying to create Web Services Data Control for SOAP, it gives 'Invalid WSDL File' for any WSDL file and shows following error:
oracle/adfdtinternal/model/adapter/webservice/utils/WSUtils$DefaultAuthPrompter
and in 'feedback' tab:
Already logged bug for [NoClassDefFoundError in o.j.webservices.wsdl.CachedWSDLReader:394]
Also if I try to create a new Request in HTTPAnalyzer and give a WSDL it shows following exception:
java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
followed by "The string <WSDL URL> is not a valid WSDL".
If I try to create a REST WS Datacontrol, it shows error:
NoClassDefFoundError in o.adf.model.connection.url.HttpUrlConnection:146
Entire stack trace is attached.
Please let me know if these are known issues and if there is any workaround.
ThanksDon't see any way to attach file. So here is the entire trace:
Performing action (299) New... [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
Performing action (1046) Create New Request [ from HistoryDockable ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 4:46:51 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
WARNING: A problem has been found building the mdds model
java.io.IOException: java.lang.NoClassDefFoundError: HTTPClient/AuthorizationPrompter
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: HTTPClient/AuthorizationPrompter
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(ClasspathManager.java:469)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:449)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
Caused by: java.lang.ClassNotFoundException: HTTPClient.AuthorizationPrompter
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 31 more
oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 4:47:52 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
WARNING: A problem has been found building the mdds model
java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
Performing action (13) Save All [ from SOAPMessageEditor ] [ for ( HTTP Analyzer : Unsent Message, <none>, <none> ) ]
Invoking command: [ from SOAPMessageEditor ] [ for ( HTTP Analyzer : Unsent Message, <none>, <none> ) ]
Performing action (388) JDeveloper Forum [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (388) JDeveloper Forum [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (79) About [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Invoking command: [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (299) New... [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
Performing action (279) Clear [ from MessagePage ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
Performing action (9) Open... [ from MessagePage ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
Performing action (299) New... [ from FrameworkXmlEditor ] [ for ( adfmf-application.xml, <none>, ADFApp1.jws ) ]
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
Performing action (455) HTTP Analyzer [ from HistoryDockable ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
Performing action (1046) Create New Request [ from HistoryDockable ] [ for ( <none>, ViewController.jpr, ADFApp1.jws ) ]
oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 5:02:23 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
WARNING: A problem has been found building the mdds model
java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
oracle.jdevimpl.webservices.tcpmonitor.editor:Jun 3, 2013 5:03:39 PM oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2 validateWSDL
WARNING: A problem has been found building the mdds model
java.io.IOException: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:228)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:132)
at oracle.jdevimpl.webservices.tcpmonitor.editor.WSDLChooserDialog$2.run(WSDLChooserDialog.java:398)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/wsdl/CachedWSDLReader$SimpleAuthPrompt
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:394)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:298)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader$1.initialValue(CachedWSDLReader.java:294)
at java.lang.ThreadLocal.setInitialValue(ThreadLocal.java:141)
at java.lang.ThreadLocal.get(ThreadLocal.java:131)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getReaderImpl(CachedWSDLReader.java:308)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLInternal(CachedWSDLReader.java:531)
at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDLDirect(CachedWSDLReader.java:471)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:264)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator$FetchModelTask.call(MddsLocator.java:237)
at oracle.jdevimpl.webservices.tcpmonitor.editor.MddsLocator.getModel(MddsLocator.java:212)
... 4 more
Performing action (299) New... [ from ProjectNavigatorWindow ] [ for ( ViewController.jpr, ViewController.jpr, ADFApp1.jws ) ]
java.lang.NoClassDefFoundError: HTTPClient/HTTPConnection
java.lang.NoClassDefFoundError: HTTPClient/HTTPConnection
o.adf.model.connection.url.HttpURLConnection.<init>(HttpURLConnection.java:146)
o.adf.model.connection.url.URLProviderFactory.newInstance(URLProviderFactory.java:117)
o.ji.connection.url.dialogs.ConnectionPanel.testConnection(ConnectionPanel.java:551)
o.ji.connection.url.dialogs.ConnectionController.actionPerformed(ConnectionController.java:174)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6297)
jx.s.JComponent.processMouseEvent(JComponent.java:3275)
j.a.Component.processEvent(Component.java:6062)
j.a.Container.processEvent(Container.java:2039)
j.a.Component.dispatchEventImpl(Component.java:4660)
j.a.Container.dispatchEventImpl(Container.java:2097)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
j.a.Container.dispatchEventImpl(Container.java:2083)
j.a.Window.dispatchEventImpl(Window.java:2489)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$3.run(EventQueue.java:647)
j.a.EventQueue$3.run(EventQueue.java:645)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:644)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
j.a.Dialog$1.run(Dialog.java:1052)
j.a.Dialog$3.run(Dialog.java:1104)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1102)
j.a.Component.show(Component.java:1591)
j.a.Component.setVisible(Component.java:1543)
j.a.Window.setVisible(Window.java:843)
j.a.Dialog.setVisible(Dialog.java:987)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
o.ji.connection.url.dialogs.URLConnectionDialog.runDialog(URLConnectionDialog.java:117)
o.ji.connection.url.dialogs.URLConnectionDialog.invoke(URLConnectionDialog.java:85)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.launchURLConnectionDialog(RestConnectionPanel.java:427)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.access$000(RestConnectionPanel.java:93)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel$1.actionPerformed(RestConnectionPanel.java:201)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
j.a.Component.processMouseEvent(Component.java:6297)
jx.s.JComponent.processMouseEvent(JComponent.java:3275)
j.a.Component.processEvent(Component.java:6062)
j.a.Container.processEvent(Container.java:2039)
j.a.Component.dispatchEventImpl(Component.java:4660)
j.a.Container.dispatchEventImpl(Container.java:2097)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
j.a.Container.dispatchEventImpl(Container.java:2083)
j.a.Window.dispatchEventImpl(Window.java:2489)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$3.run(EventQueue.java:647)
j.a.EventQueue$3.run(EventQueue.java:645)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:644)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
j.a.Dialog$1.run(Dialog.java:1052)
j.a.Dialog$3.run(Dialog.java:1104)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1102)
j.a.Component.show(Component.java:1591)
j.a.Component.setVisible(Component.java:1543)
j.a.Window.setVisible(Window.java:843)
j.a.Dialog.setVisible(Dialog.java:987)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
o.adfdtinternal.model.adapter.webservice.wizard.WSDCWizard.runWizard(WSDCWizard.java:553)
o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invokeDCWizard(JdxPKWSAddin.java:155)
o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invoke(JdxPKWSAddin.java:91)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
o.i.wizard.WizardManager$1.run(WizardManager.java:530)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:672)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:642)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by:
java.lang.ClassNotFoundException: HTTPClient.HTTPConnection
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
j.lang.ClassLoader.loadClass(ClassLoader.java:247)
o.adf.model.connection.url.HttpURLConnection.<init>(HttpURLConnection.java:146)
o.adf.model.connection.url.URLProviderFactory.newInstance(URLProviderFactory.java:117)
o.ji.connection.url.dialogs.ConnectionPanel.testConnection(ConnectionPanel.java:551)
o.ji.connection.url.dialogs.ConnectionController.actionPerformed(ConnectionController.java:174)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.Component.processMouseEvent(Component.java:6297)
jx.s.JComponent.processMouseEvent(JComponent.java:3275)
j.a.Component.processEvent(Component.java:6062)
j.a.Container.processEvent(Container.java:2039)
j.a.Component.dispatchEventImpl(Component.java:4660)
j.a.Container.dispatchEventImpl(Container.java:2097)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
j.a.Container.dispatchEventImpl(Container.java:2083)
j.a.Window.dispatchEventImpl(Window.java:2489)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$3.run(EventQueue.java:647)
j.a.EventQueue$3.run(EventQueue.java:645)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:644)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
j.a.Dialog$1.run(Dialog.java:1052)
j.a.Dialog$3.run(Dialog.java:1104)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1102)
j.a.Component.show(Component.java:1591)
j.a.Component.setVisible(Component.java:1543)
j.a.Window.setVisible(Window.java:843)
j.a.Dialog.setVisible(Dialog.java:987)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
o.ji.connection.url.dialogs.URLConnectionDialog.runDialog(URLConnectionDialog.java:117)
o.ji.connection.url.dialogs.URLConnectionDialog.invoke(URLConnectionDialog.java:85)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.launchURLConnectionDialog(RestConnectionPanel.java:427)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel.access$000(RestConnectionPanel.java:93)
o.adfdtinternal.model.adapter.webservice.wizard.rest.RestConnectionPanel$1.actionPerformed(RestConnectionPanel.java:201)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
j.a.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
j.a.Component.processMouseEvent(Component.java:6297)
jx.s.JComponent.processMouseEvent(JComponent.java:3275)
j.a.Component.processEvent(Component.java:6062)
j.a.Container.processEvent(Container.java:2039)
j.a.Component.dispatchEventImpl(Component.java:4660)
j.a.Container.dispatchEventImpl(Container.java:2097)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4575)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4236)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4166)
j.a.Container.dispatchEventImpl(Container.java:2083)
j.a.Window.dispatchEventImpl(Window.java:2489)
j.a.Component.dispatchEvent(Component.java:4488)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:674)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$3.run(EventQueue.java:647)
j.a.EventQueue$3.run(EventQueue.java:645)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:644)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
j.a.Dialog$1.run(Dialog.java:1052)
j.a.Dialog$3.run(Dialog.java:1104)
j.security.AccessController.doPrivileged(Native Method)
j.a.Dialog.show(Dialog.java:1102)
j.a.Component.show(Component.java:1591)
j.a.Component.setVisible(Component.java:1543)
j.a.Window.setVisible(Window.java:843)
j.a.Dialog.setVisible(Dialog.java:987)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:382)
o.bali.ewt.wizard.WizardDialog.runDialog(WizardDialog.java:298)
o.adfdtinternal.model.adapter.webservice.wizard.WSDCWizard.runWizard(WSDCWizard.java:553)
o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invokeDCWizard(JdxPKWSAddin.java:155)
o.adfdtinternal.model.adapter.webservice.JdxPKWSAddin.invoke(JdxPKWSAddin.java:91)
o.i.wizard.WizardManager.invokeWizard(WizardManager.java:446)
o.i.wizard.WizardManager$1.run(WizardManager.java:530)
j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:672)
j.a.EventQueue.access$400(EventQueue.java:81)
j.a.EventQueue$2.run(EventQueue.java:633)
j.a.EventQueue$2.run(EventQueue.java:631)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:642)
o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122) -
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 -
Trouble creating Web Service Reference
I am using Apex 3.0 and trying to create a new web service reference from the Shared Components page.
Clicking the 'Web Service Refernces' link however takes me back to the login screen ! The Url shown in the browser is as below
http://localhost:7777/pls/apex30/f?p=4550:1:393172515481281::::FSP_AFTER_LOGIN_URL:\f?p=4000|170|1940120004338053||NO|||\
Any idea why this may be happening ?Totally Weird !
I cleaned out the contents of the FLOW_PAGE_CACHE table and all is fine now ! -
"invalid web service URL" error for create web service system
Hi.
I want to call web service in visual composer and try to create Web Service definition.
When I push create button in visual composer, I got "invalid web service URL" error.
My web service is located in SAP ABAP System and I can check WSDL URL in web service homepage.
(http://mycompany.com:8000/sap/bc/srt/rfc/sap/ZTEST?sap-client=500&wsdl=1.1)
Any ideas for this error ?
Regards, Arnold.Hi
Please can you create the web service in the portal as a portal system, this will work and you will be able to see the service in Visual Composer.
Jarrod Williams -
Error while creating web services proxy in Jdev. 10.1.3
Hello,
I created a web service using jdev.10.1.2 and created successfully a ws proxy with the the same version.
However when I try to generate a ws proxy using 10.1.3, I am getting error:
The WSDL document is invalid for the following reason:
the wsdl contains a mixture of uses- "literal" and "encoded" Only literal OR encoded is supported in a wsdl, not both.
What is the problem and how can I resolve this?
Thanks in advance.I followed like what is mentioned in the document, however my return type is still object.
Below is my message part. Pasted at the bottom is my complete wsdl.
<message name="getEmpInfoXML0Response">
<part name="result" type="xsd:anyType" />
</message>
****************************** WSDL**************************************
<?xml version="1.0" encoding="UTF-8" ?>
- <!-- Generated by the Oracle JDeveloper 10g Web Services WSDL Generator
-->
- <!-- Date Created: Sun May 27 10:30:48 AST 2007
-->
- <definitions name="Portalws" targetNamespace="http://ws/bs/ew/EmpInfo.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws/bs/ew/EmpInfo.wsdl" xmlns:ns1="http://ws.bs.ew/IPortalws.xsd">
- <types>
<schema targetNamespace="http://ws.bs.ew/IPortalws.xsd" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns="http://www.w3.org/2001/XMLSchema" />
</types>
- <message name="getEmpInfoXML0Request">
<part name="empno" type="xsd:string" />
</message>
- <message name="getEmpInfoXML0Response">
<part name="result" type="xsd:anyType" />
</message>
- <portType name="EmpInfoPortType">
- <operation name="getEmpInfoXML">
<input name="getEmpInfoXML0Request" message="tns:getEmpInfoXML0Request" />
<output name="getEmpInfoXML0Response" message="tns:getEmpInfoXML0Response" />
</operation>
</portType>
- <binding name="EmpInfoBinding" type="tns:EmpInfoPortType">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="getEmpInfoXML">
<soap:operation soapAction="" style="rpc" />
- <input name="getEmpInfoXML0Request">
<soap:body use="encoded" namespace="Portalws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</input>
- <output name="getEmpInfoXML0Response">
<soap:body use="encoded" namespace="Portalws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
</output>
</operation>
</binding>
- <service name="Portalws">
- <port name="EmpInfoPort" binding="tns:EmpInfoBinding">
<soap:address location="http://host:portt/WebService-PortalWS-context-root/Portalws" />
</port>
</service>
</definitions> -
Error when creating Web Service Proxy
Hi',
I am creating a web service proxy to call a web service (OSB) "http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html#t5", I am making a client to call a OSB proxy and I am able to see the WSDL in the IE, however when I try to create a client using Jdev I get below error.
Please advice me.
Thanks
Yatan
oracle.jdeveloper.webservices.model.WebServiceException: Error creating model from wsdl "http://localhost:8001/xx/som/contracts/CustomerContract?wsdl": A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1635)
at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2846)
at oracle.jdeveloper.webservices.model.WebService.createServiceFromWSDL(WebService.java:2611)
at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:509)
at oracle.jdeveloper.webservices.model.java.JavaWebService.<init>(JavaWebService.java:461)
at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy$ProxyJavaWebService.<init>(WebServiceProxy.java:2268)
at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.updateServiceModel(WebServiceProxy.java:1701)
at oracle.jdeveloper.webservices.model.proxy.WebServiceProxy.setDescription(WebServiceProxy.java:525)
at oracle.jdevimpl.webservices.wizard.jaxrpc.proxy.ProxyJaxWsSpecifyWSDLPanel.setDescription(ProxyJaxWsSpecifyWSDLPanel.java:238)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.buildModel(SpecifyWsdlPanel.java:1109)
at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$5.run(SpecifyWsdlPanel.java:661)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
at java.lang.Thread.run(Thread.java:619)
Caused by: oracle.jdeveloper.webservices.tools.WsdlValidationException: Error creating model from wsdl "http://localhost:8001/xx/som/contracts/CustomerContract?wsdl": A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.newWsdlValidationException(WsaAdaptor.java:825)
at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:515)
at oracle.jdeveloper.webservices.tools.WebServiceTools.getSeiInfo(WebServiceTools.java:523)
at oracle.jdeveloper.webservices.model.java.JavaWebService.getSeiInfo(JavaWebService.java:1741)
at oracle.jdeveloper.webservices.model.java.JavaWebService.createPortTypes(JavaWebService.java:1496)
... 12 more
Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: Error creating model from wsdl "http://localhost:8001/xx/som/contracts/CustomerContract?wsdl": A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:664)
at oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createJAXWSModel(WsdlToJavaTool.java:475)
at oracle.j2ee.ws.tools.wsa.Util.getJaxWsSeiInfo(Util.java:1357)
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 oracle.jdevimpl.webservices.tools.wsa.Assembler$2$1.invoke(Assembler.java:218)
at $Proxy50.getJaxWsSeiInfo(Unknown Source)
at oracle.jdevimpl.webservices.tools.wsa.WsaAdaptor.getSeiInfo(WsaAdaptor.java:505)
... 15 more
Caused by: oracle.j2ee.ws.common.tools.api.ValidationException: A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:188)
at oracle.j2ee.ws.tools.wsa.jaxws.JaxwsWsdlToJavaTool.getJAXWSModel(JaxwsWsdlToJavaTool.java:647)
... 24 more
Caused by: oracle.j2ee.ws.common.databinding.common.spi.DatabindingException: A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.TaskCompletionMessage" is already in use. Use a class customization to resolve this conflict.(Relevant to above error) another "TaskCompletionMessage" is generated from here.(Relevant to above error) another "SOMMessage" is generated from here.A class/interface with the same name "com.xx.gpsc.som.core.schema.somcommon.v1.SOMMessage" is already in use. Use a class customization to resolve this conflict.Two declarations cause a collision in the ObjectFactory class.(Related to above error) This is the other declaration.
at oracle.j2ee.ws.common.tools.databinding.jaxb20.JAXB20TypeGenerator.generateJavaTypes(JAXB20TypeGenerator.java:120)
at oracle.j2ee.ws.tools.wsa.SchemaTool.genValueTypes(SchemaTool.java:186)
... 25 moreHi 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 -
Errors in creating web services in sap
I am getting below mentioned errors
1. While testing existing web service
http://blade05.wipro.com:8000/sap/bc/srt/rfc/sap/SRT_TESTS_FB_PAR_TEST02_WS?sap-client=100&wsdl=1.1
Network Error (dns_unresolved_hostname)
Your requested host "blade05.wipro.com" could not be resolved by DNS.
2. While creating new web services,I am getting the below mentioned error. Test objects cannot be created in foreign name spaces.
Regards,
Anitha MHi,
For issue: "http://blade05.wipro.com:8000/sap/bc/srt/rfc/sap/SRT_TESTS_FB_PAR_TEST02_WS?sap-client=100&wsdl=1.1"
1) Check if you are able to access the host i.e "http://blade05.wipro.com"
2) Try to ping the host in command prompt and see if you are getting any response.If you are not getting any response that means the host is unreachable.
3) It can also be if you are under a "proxy server".
For : " Test objects cannot be created in foreign name spaces"
The problem may be because u might have not given the proper Hostname/ Interface details In a particular interface.
Regards,
Sainath chutke
Maybe you are looking for
-
TS2446 How do you change your security question answers?
How can you change you security questions, i cant remember the exact answer to mine
-
Why am I no longer able to download to You Tube?
I have a You Tube account and have enjoyed downloading iMovie Projects pretty regularly. I haven't changed anything, but now I download a project and it appears to download ....but never shows up on You Tube.. I select share from iMovie and select Yo
-
Is there any way i can syn with my new laptop and not lose my music
I dont want to lose all my music when i syn with my new MacBook Air. Is there anyway of doing this and keeping it all
-
Is Dictionary shortcut Command-Ctrl-D a system wide thing?
I had assumed the Command-Ctrl-D for Dictionary.app is a system wide short cut It works fine with Safari But I found it doesnt work in side of a firefox webpage. Pressing the combination doesnt bring up the expected floating dictionary window. Or the
-
Upgrade XSAN Beta (1.0 v41) to Full
I was working with a company that I setup a XSAN with a couple of XSERVE RAIDs about a year ago. The License runs out 11/31/05. They have contacted me to upgrade their system to the latest version along with tiger upgrades (from 10.3.8 and 10.3.9) an