ALUI-Create Web Service - Remote Portlet Error 401:Unauthorized

I have some problems during user ALUI(AquaLogic User Interaction 6.1).
I created a Web Service - Remote Portlet,then set value of Basic Authentication Settings is "User's Basic Authentication Information". When related remote server refer to tomcat5.5,the Web Service - Remote Portlet is fine to run,but not when the related remote server refer to weblogic9.2.
When value of Basic Authentication Settings is "Use Remote Server Basic Authentication Information", related remote server refer to weblogic9.2 or tomcate5.5, the portlet is fine.
error detail:
Error
sso Portlet cannot be displayed because the remote server returned an invalid HTTP response code.
We recommend:
• Refresh sso Portlet
• Accessing this portlet at a later time.
• Contacting your portal administrator if problems persist.
Detailed error information
• Response status: 401
• Response body:
Error 401--Unauthorized
From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
10.4.2 401 Unauthorized
The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.

How to configure remote server to accept authorization header?
I set value of Basic Authentication Settings is "User's Basic Authentication Information" because the Web Service - Remote Portlet need to get the portal's login user infomation.If the value is "Use Remote Server Basic Authentication Information",the application is fine to run.
The follow is the way to get login user infomation.
IPortletContext portletContext = PortletContextFactory.createPortletContext(request, response);
ICredentialProvider cProvider = portletContext.getCredentialProvider();
String username = cProvider.getUsername();
String password = cProvider.getPassword();
Do you have other way to authenticate users?
Thanks.
Edited by: user2233298 on 2009-4-22 下午8:25

Similar Messages

  • The remote server returned an error: (401) Unauthorized. + Web Service userprofileservice.asmx

    Hi Community,
    I need you assistance on an issue I'm facing.
    The remote server returned an error: (401) Unauthorized.
    The remote server returned an error: (401) Unauthorized.)
    I'm connecting to a web service (userprofileservice.asmx) to auto populate email address in an Info Path form. It was working fine Friday/Monday. Open the form today and I received error:5566
    It's populating in preview but when I open the form in the browser (info path web part) that's when I receive error:5566
    I need your help guys please, this is doing my head in.
    Cheers Matt
     

    Not sure how you do that?
    I'm using SOAP UI to test I can connect to the web service and check the envelope request
    details. Before it was giving me 401 error until I granted my account permission to that asmx on the web server.
    It's strange because I can connect to the web service by soap UI and see all the information.
    I can connect to the web service by using the URL.
    Works fine in preview mode. 
    Was working fine on the production environment until yesterday and now I have error 5566.
    All the configuration on the web server is the same.
    I'm at a brick wall.. Help

  • 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,
    khan

    I 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,
    Kacee

    Can 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.

  • 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.
    -Sukumar

    Hi,
    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.
    pankaj

    Hi 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

  • Error creating web service from WSDL in 11.1.2.0.0

    Hello,
    I have just installed JDeveloper 11.1.2.0.0. I tried to test a web service created (and successfully tested) in 11.1.1.5.0. The service is deployed to internal WebLogic server but when I call "Test Web Service" this is the error I get:
    The Web Service Tester cannot be invoked, because the WSDL document of the selected service cannot be read.
    java.lang.IllegalStateException: SSLContextImpl is not initialized
         at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
         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.ServiceTester$3.run(ServiceTester.java:262)
         at java.lang.Thread.run(Thread.java:662)
    Then I tried to create a new project and Java web service from WSDL, but on the second step of the "Java Web Service from WSDL" wizard when I select WSDL file from the disk and click "Next" I get
    java.lang.IllegalStateException: SSLContextImpl is not initialized
    java.lang.IllegalStateException: SSLContextImpl is not initialized
         at com.sun.net.ssl.internal.ssl.SSLContextImpl.engineGetSocketFactory(SSLContextImpl.java:145)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdevimpl.credential.LazySSLContextSpi.engineGetSocketFactory(LazySSLContextSpi.java:67)
         at javax.net.ssl.SSLContext.getSocketFactory(SSLContext.java:260)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.getNewReaderInstance(CachedWSDLReader.java:398)
         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.readWSDL(CachedWSDLReader.java:484)
         at oracle.jdeveloper.webservices.wsdl.CachedWSDLReader.readWSDL(CachedWSDLReader.java:455)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel.fetchWSDL(SpecifyWsdlPanel.java:1050)
         at oracle.jdevimpl.webservices.wizard.jaxrpc.common.SpecifyWsdlPanel$1.run(SpecifyWsdlPanel.java:364)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)
    I performed fresh install of this new JDeveloper version in new Middleware home with all the default options and this is the first thing I tried.
    Any hints?
    Thanks,
    Bruno

    Hi Vishal,
    no, I don't see any HTTPS security settings defined. The thing is that this worked just fine in 11.1.1.5.0 version. I installed 11.1.2.0.0 and the first thing I tried was testing this web service. Right away I get this error. I also tried creating Web Service Client Proxy for this web service and I get the same exception. I looks to me that this happens when wizard tries parsing WSDL...
    But, I got another error when I opened "Java Web Service Editor" for this web service and selected "Methods":
    NPE in o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel:702
    Performing action (35) Project Properties... [ from ProjectNavigatorWindow ] [ for ( VegaService.jpr, VegaService.jpr, DMSVegaAdapter.jws ) ]
    oracle.jdevimpl.webservices.index:Jun 9, 2011 9:05:02 AM IndexFacade runQuery
    INFO: Having to guess workspace
    oracle.jdevimpl.webservices.index:Jun 9, 2011 9:05:28 AM IndexFacade runQuery
    INFO: Having to guess workspace
    Performing action (23) Find... [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (25) Find Next [ from CodeEditor ] [ for ( VegaService.wsdl, VegaService.jpr, DMSVegaAdapter.jws ) ]
    Performing action (56) Properties... [ from ProjectNavigatorWindow ] [ for ( VegaService, VegaService.jpr, DMSVegaAdapter.jws ) ]
    oracle.jdevimpl.webservices.index:Jun 9, 2011 9:09:32 AM IndexFacade runQuery
    INFO: Having to guess workspace
    java.lang.NullPointerException
    java.lang.NullPointerException
    o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel.populateListImpl(SelectMethodsPanel.java:702)
    o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel.access$600(SelectMethodsPanel.java:82)
    o.ji.webservices.wizard.jaxrpc.bottomup.SelectMethodsPanel$4$1.run(SelectMethodsPanel.java:603)
    j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:642)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:612)
    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:1046)
    j.a.Dialog$3.run(Dialog.java:1098)
    j.security.AccessController.doPrivileged(Native Method)
    j.a.Dialog.show(Dialog.java:1096)
    j.a.Component.show(Component.java:1585)
    j.a.Component.setVisible(Component.java:1537)
    j.a.Window.setVisible(Window.java:842)
    j.a.Dialog.setVisible(Dialog.java:986)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
    o.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
    o.i.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
    o.i.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
    o.ji.webservices.wizard.jaxrpc.WebServicesEditor.showDialog(WebServicesEditor.java:313)
    o.ji.webservices.WebServicesAddin.findAndInvokeWizard(WebServicesAddin.java:1672)
    o.ji.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:870)
    o.i.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1469)
    o.i.controller.IdeAction.performAction(IdeAction.java:662)
    o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:1140)
    o.i.controller.IdeAction.actionPerformed(IdeAction.java:617)
    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.AbstractButton.doClick(AbstractButton.java:357)
    jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
    jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
    j.a.Component.processMouseEvent(Component.java:6289)
    jx.s.JComponent.processMouseEvent(JComponent.java:3267)
    j.a.Component.processEvent(Component.java:6054)
    j.a.Container.processEvent(Container.java:2041)
    j.a.Component.dispatchEventImpl(Component.java:4652)
    j.a.Container.dispatchEventImpl(Container.java:2099)
    j.a.Component.dispatchEvent(Component.java:4482)
    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
    j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
    j.a.Container.dispatchEventImpl(Container.java:2085)
    j.a.Window.dispatchEventImpl(Window.java:2478)
    j.a.Component.dispatchEvent(Component.java:4482)
    j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
    j.a.EventQueue.access$000(EventQueue.java:85)
    j.a.EventQueue$1.run(EventQueue.java:603)
    j.a.EventQueue$1.run(EventQueue.java:601)
    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$2.run(EventQueue.java:617)
    j.a.EventQueue$2.run(EventQueue.java:615)
    j.security.AccessController.doPrivileged(Native Method)
    j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    j.a.EventQueue.dispatchEvent(EventQueue.java:614)
    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)
    Regards,
    Bruno

  • Getting errors when creating Web Services Data Control in Jdev 11.1.2.4.0

    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.
    Thanks

    Don'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 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 service

    I 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 "Unable to Load URL" in Dashboard Design 4.1 SP2 while create web service connection

    Hello Experts,
    I am using SAP BO Dashboard Design 4.1 SP2.
    I have create one web Intelligence report and from it i create web services url using of publish data feature.
    when I use this url to create Web service(Qaaws) connection in dashboard It is showing me error " Unable to Load URL "
    URL is working fine in browser in server system where i install SAP BO 4.2 but it is not working in my system where i installed dashboard design.
    Please suggest how do i make connection using of this URL in dashboard.
    Do i miss something or doing wrong ? then guide me.
    Thanks and Regards,
    Dhaval Dave

    Hi Dave,
    Please check the below link,
    How to create Xcelsius Dashboard based of BI Web Service ( BIWS )
    Using Webservice in Dashboard
    Webservices in Dashboard - Issue
    Also change your original link here and try to load
    (sample link)
    From:
    http://BOE:8080/dswsbobje/qaawsservice/bisw?def=1&cuid=xxxxxxxxxx
    To:
    http://BOE:8080/dswsbobje/qaawsservice/bisw?wsdl=1&cuid=xxxxxxxxxx
    or else can you post your url here.
    Hope this helps.
    --SumanT

  • "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

  • The remote server returned an error: (401) Unauthorized error while using Microsoft.SharePoint.Client.dll

    I have access to sharepoint site and I have tested this by manually creating the lists and announcements in the sharepoint site.
    now the same thing when I try to do it through the c#.net code it always gives me the following :
    "An unhandled exception of type 'System.Net.WebException' occurred in
    Microsoft.SharePoint.Client.dll Additional information: The remote server returned an error:
    (401) Unauthorized."
    My code looks like below:
    string userName = "[email protected]";
    SecureString password = new SecureString();
    foreach (char c in "abc123".ToCharArray()) password.AppendChar(c);
    using (var context = new ClientContext("https://sharepoint.partners.extranet.adlabs.com/sites/UniTest"))
    context.Credentials = new SharePointOnlineCredentials(userName, password);
    context.Load(context.Web, w => w.Title);
    context.ExecuteQuery();
    Krrishna

    Hi Krrishna,
    You code is used to access SharePoint Online, if you are use SharePoint 2007, we can use SharePoint web service or custom web service to achieve your requirement. 
    Lists Web Service
    http://msdn.microsoft.com/en-us/library/lists(v=office.12).aspx
    Creating a Custom Web Service
    http://msdn.microsoft.com/en-us/library/ms464040(v=office.12).aspx
    About SharePoint 2007(MOSS 2007), you can also post it to the forum below, you will get more help and confirmed answers there.
    https://social.technet.microsoft.com/Forums/en-US/home?forum=sharepointdevelopmentlegacy
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How to create Web Service based on PI WSDL message

    Hi all,
    we have following scenario:
    Within PI (version 7.1) we set up a message type and inbound service interface. This service interface should send the PI message to a web service running on a SAP J2EE (version 7.01). As the PI message is sent as WSDL I thought it should be easy to build a web service on the SAP J2EE based on this WSDL from PI.
    Unfortunately, I have problems creating the Web Service.
    For my current project we integrated the NWDI to the SAP NetWeaver Developer Studio and I'm required to add the Web Service to an existing DC (Development Component) within the NWDI.
    What I tried so far is:
    - I created a Deployable Proxy Project and within this I created a Client Proxy Definition based on the WSDL from the PI. But I can't add this Proxy to the DCs of the NWDI and I don't know how to implement my own coding here in order execute specific functions.
    - I created a new class within the NWDI DC and a public method. Based on this I created a Virtual Interface and a Web Service Definition (WSD). Then I added this to a Web Service Deployment Descriptor. I uploaded this to the SAP J2EE. But I'm not able to access this and I don't know hoe to assign the WSDL here.
    I also tried here to create a client proxy based on this WSD as I thought I might assign the WSDL here. But I don't see the WSD in the list of Web Services uploaded to the SAP J2EE...
    Can you please advice me how to create a Web Service in such an environment?
    regards
    René Jurmann

    Hi Tahir,
    sorry that you needed to wait this long - but this is how I created the web service:
    The steps on how to create the web service in NetWeaver Developer studio are nearly the same as described in the blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5838. [original link is broken] [original link is broken] [original link is broken]
    Some steps I just skipped and some others I added. Some of the steps I did the way I described it as I needed to connect the web service with the SAP PI.
    Prerequisites:
    Add Java Perspective and J2EE Development Perspective to the open perspectives.
    Within "Window - Preferences - Web Services" check "Soap extensions visible in the virtual interface editor"
    The SDM of the corresponding SAP J2EE is configured within "Window - Preferences"
    Create a Development Component (DC) with type "J2EE -> EJB Module"
    The business logic of the web service will be implemented in an Enterprise Java Bean (EJB). So first the EJB component must be created:
         Choose "File -> New -> Other"
         In opening PopUp choose "Development Component -> Development Component Project"
         Select the Software Component for which you want to add the DC (e.g. "Local Development -> MyComponents")
         Choose now vendor, name and type:
              vendor is an alpha-numeric string of 20 characters starting with a letter - all in lower case
              name is an alpha-numeric string starting with a letter - all in lower case
              vendor and name concatenated must not be longer then 40 characters
              the name can be separated into different part using "/" as separator
              each part of the name must not be longer than 8 characters
              the type is "J2EE - EJB Module"
              you can specify a Caption as general description for the web service
    Create new EJB
    To create the EJB itself:
         In J2EE DC Explorer of J2EE Development Perspective expand new DC and right-click on folder "ejbModule"
         Choose "New - EJB" with following details:
              EJB Name: <name as for PI service Interface to be created - starting in upper case>
              EJB Project: <pre selected>
              Bean Type: Stateless Session Bean
              Default EJB Package: <corresponds to namespace in PI>
              generate default interfaces: Checked
    Regarding the "Default EJB Package" this should be created according the namespace in PI for which all PI objects will be created. This only applies if you have some naming conventions here.
    Example:
    Namespace in PI is:  http://company.net/pi/SOFTWARE_COMP/Application
    The corresponding package then is: net.company.pi.software_comp.application
    Implement coding for web service
    As the web service will be called via PI some transfer variables will be submitted. Most likely, those variables will not be standard type (e.g. String) but a complex type. Those types must be generated as Java classes. Below an example of a complex type I needed:
    Data Type
    net.company.pi.software_comp.application.types.MessageProcessingInformation
    Structure:
         Element name          Element type
         sendingSystemID          String
         interfaceID               String
         businessProcessVariantCode     String
         testIndicator               Boolean
    For every element described a public "get", "set" and "has" method must be created in the corresponding Java class:
    package net.company.pi.software_comp.application.types;
    import java.io.Serializable;
    public class MessageProcessingInformation implements Serializable {
         protected String sendingSystemID;
         protected String interfaceID;
         protected String businessProcessVariantCode;
         protected Boolean testIndicator;
         public String getSendingSystemID() {
              return sendingSystemID;
         public void setSendingSystemID(String value) {
              this.sendingSystemID = value;
         public boolean hasSendingSystemID() {
              if(sendingSystemID != null && !sendingSystemID.equals("")){
                   return true;
              return false;
    All Java classes representing complex types and all classes referenced here (used for sub-types) must implement java.io.Serializable. Java standard types which do not implement this class must not be used as sub-types.
    As soon as all data types are declared the real business logic can be implemented:
         In J2EE DC Explorer of J2EE Development Perspective expand DC - "ejb-jar.xml" - <Name> and double click on "ejbCreate"
         In detail view select folder "Business Methods" and click "Add"
         choose name of business method - this should be the same as the PI message type used for the service interface - starting lower case
         return type should be "void"
         add needed parameters fully qualified - including package (as specified in PI and created previously in DC)
         you can mark certain parameters as array if necessary
    Remark:
    It might be that after saving you get an error. This might be as the package name of one component is copied to the corresponding Java class at the very beginning (before the package declaration within the Java class). Simply delete the string here.
    It also might be, that the new business method is only defined in the remote interface class but not in the bean class. Just create an according method in the bean class.
    Within the newly created business method within the bean class you can now implement the business logic.
    Create a DC with type "J2EE -> Enterprise Application"
    In order to create the "real" web service and deploy it to the J2EE an Enterprise Application project has to be created. So create a new DC as for the EJB Module but choose as type "J2EE -> Enterprise Application".
    After the DC is created right click on the EJB DC and choose "Add to EAR Project". Choose the new DC.
    Create web service for EJB
    As soon as you implemented the business logic you can create the "real" web service. Therefore:
         Right click on the EJB name below "ejb-jar.xml"
         Choose "New - Web Service"
         Choose proper "Web Service Name" and "Configuration Name" (probably oriented at the EJB name)
         Copy the URL of the web service - you'll need it later for PI configuration
         on the second next screen use the same name for "Virtual Interface" and "Web Service Definition" (the name should be the name of the "Endpoint")
         the "EAR Project" should be preselected
    Unfortunately, the web service can't be used in its current configuration to be accessed by PI. Therefore the Virtual Interface must be changed. To do so, expand folder "Virtual Interfaces" and double click the virtual interface created.
    Within the detail view expand in tabs "Mapping" and "Types" the complete folder structure. For any "SOAP Extension" where a namespace can be defined use as namespace the corresponding namespace in PI (e.g. http://corpintra.net/pi/CBFC_GLOBAL_SAP_APPL/BillerDirect) but do not change any "Soap Extension" of a standard Java type. (if you don't have any naming convetions for namespaces in PI you can leave the SOAP Extension here. But then the namespace in PI should be set accordingly.)
    Probably it can be necessary on top level "Soap Extensions" in tab "Mapping" to leave "Use Namespaces for Parameters" unchecked. For some of my web services this parameter must be checked for others not - just try.
    If you can define a "New Name", "Local Name" or "Item Label" for a Soap Extension then use a name with starting upper case letter. (For Java Naming conventions most of the data type names will start with lower case letters.) Especially the method name must be renamed this way in order to stick to the PI namings.
    As a last point to change here check in tab "Mapping" all "Incoming Parameters" which you specified as array. Use for those as "New Name" a different name - do not just simply change from lower case to upper case. This is necessary as on PI we need to create two levels although here only one is specified.
    For any own sub-type declared as array the name within the coding should also differ from the corresponding Java Class name the type refers to.
    If all this is done you can deploy the web service to the J2EE:
         right click on "Enterprise Application" DC and choose "Development Component - Build..." and build all corresponding components
         right click on "Enterprise Application" DC and choose "Development Component - Deploy"
    Test the new web service via <J2EE URL>/wsnavigator/enterwsdl.html
    Create PI interface
    After the web service is created successfully the PI integration can be started.
    Therefore, within the Enterprise Services Builder create a data type according to the web service definition. All components defined on top-level for this data type should be declared as incoming parameter for the web service business method. Therefore it could be necessary to create some sub data types on PI first and add those to the "master" data type.
    Ensure that the names of the components correspond to the names defined in the web service (see virtual interface here). Those names must exactly be the same - including lower/upper case. Also take care for the ordering of the components.
    In case you need to include arrays following applies:
    The upper level is of occurrence "1:1". This has only one sub-entry with occurrence "1:n". The names for upper and sub-level must not equal.
    Based on the data type a message type is created. The name of the message type must be exactly the same as the name of the web service business method. (Hint: the name of the web service business method was most likely changed in the virtual interface. Then this name must correspond to the message type name.) Based on the message type an asynchronous inbound interface is to be created (which will be referred in the Integration Directory). The operation name for this interface (left panel) should be the same as the name for the web service business method.
    Create PI mappings and routings
    How to map (message mapping and operation mapping) from source to the web service message I wont explain here as this depends on the source message. The only important things here are:
         When creating the SOAP communication channel within the Integration Builder the "Target URL" is:
              <J2EE URL>/<Access URL as specified in web service creation>?wsdl&style=document
         The soap action is the name of the web service business method.
         Most likely the web service needs authentication to be executed.

  • The remote server returned an error: (401) Unauthorized. IIS problem? (Beginner)

    (Beginner) Creating a Provider-hosted calendar list programmatically.
    I have done this:
    Uri hostWeb = new Uri(Request.QueryString["SPHostUrl"]);
    using (var clientContext = TokenHelper.GetS2SClientContextWithWindowsIdentity(hostWeb, Request.LogonUserIdentity))
    Web web = clientContext.Web;
    ListCreationInformation listCreator = new ListCreationInformation();
    listCreator.Title = "CompanyCalendar";
    listCreator.Description = "Workcalendar";
    listCreator.TemplateType = (int)ListTemplateType.GanttTasks; //106 = events 120=CustomGrid 140=WorkflowHistory 150=GanttTasks
    web.Lists.Add(listCreator);
    clientContext.ExecuteQuery();
    If I remove the code above there are no problems, as the title says there is something wrong with my permission to modify but I have set the wevb permission to "Full control" so it should be something else.
    Some people thinks that it has to do with IIS so I tried to set the servers authorization rules to allow all users but that didnt do it (maybe I didn't do it right).
    Im a beginner so please explain as you would for a absolute beginner that dont know IIS.How can I solv this problem, why doesent I get permission to create a list on my sharepointsite?
    thanks

    Hi,
    Check if the below article helps you
    http://sharepoint.stackexchange.com/questions/76624/the-remote-server-returned-an-error-401-unauthorized-provider-hosted-app
    http://jamestsai.net/Blog/post/SharePoint-Provider-Hosted-App-401-Unauthorized-error-on-clientContextExecuteQuery().aspx
    http://blog.dbandbi.com/tag/sharepoint-provider-hosted-app-the-remote-server-returned-an-error-401-unauthorized/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • The remote server returned an error: (401) Unauthorized

    We are attempting to upload a file to SharePoint on Office 365 and get the following error:
    The remote server returned an error: (401) Unauthorized.
    We also tried using NetworkCredentials and that got the following error: The remote server returned an error: (404) Not Found.
    The code is shown below.
    Any idea on to fix this error?
    public
    void uploadDocument(string
    siteurl, string username,
    SecureString securepassword,
    string domain,
    string filestreamPath =
    "NewDocument.docx",
    string serverRelativeUrl =
    "/Shared Documents/NewDocument.docx")
    ClientContext context =
    new
    ClientContext(siteurl);
            //context.Credentials = new NetworkCredential(username, securepassword, domain);
    context.Credentials = new
    SharePointOnlineCredentials(username, securepassword);
    using (FileStream
    fileStream =
    new
    FileStream(filestreamPath,
    FileMode.Open))
    ClientOM.File.SaveBinaryDirect(context,
    serverRelativeUrl, fileStream, true);

    Yes, it has access.  In fact, it has no problem getting the site properties using the code below.  It is just when I am uploading a file that the error occurs.
    public Web getProperties(string
    siteurl, string username,
    SecureString securepassword)
    Web web = null;
    // Starting with ClientContext, the constructor requires a URL to the
    // server running SharePoint.
    ClientContext context = new ClientContext(siteurl);
    // The SharePoint web at the URL.
    web = context.Web;
    // We want to retrieve the web's properties.
    context.Load(web);
    // Execute the query to the server.
    context.Credentials = new SharePointOnlineCredentials(username, securepassword);
    context.ExecuteQuery();
    return web;

Maybe you are looking for