[Date Prev] [Date Next] [Prev in Thread] [Next in Thread] [Date Index] [Thread Index]

DevStudio Consuming own public WebService



**
Hi all

Strange situation here.

We want to consume one of our (proven to be working) Web Services.
We can consume it from within SOAP-UI no problem at all.
We can see the WSDL from within a browser.

We cannot get the WSDL to load within the Developer Studio Set Field action.

We have the Developer Studio set with proxies (tried it both with and without).

This is the WSDL

---------------START OF WSDL----------------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:CNX_LRAY_ChangeCustomerLabel_WS"
xmlns:s0="urn:CNX_LRAY_ChangeCustomerLabel_WS" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 <wsdl:types>
 <xsd:schema elementFormDefault="qualified" targetNamespace="urn:CNX_LRAY_ChangeCustomerLabel_WS">
  <xsd:element name="New_Create_Operation_0" type="s0:InputMapping1"/>
  <xsd:complexType name="InputMapping1">
   <xsd:sequence>
    <xsd:element name="Customer_Label" type="xsd:string"/>
    <xsd:element name="Start_MSISDN" type="xsd:string"/>
    <xsd:element name="End_MSISDN" type="xsd:string"/>
    <xsd:element name="Start_IMSI" type="xsd:string"/>
    <xsd:element name="End_IMSI" type="xsd:string"/>
   </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="New_Create_Operation_0Response" type="s0:OutputMapping1"/>
  <xsd:complexType name="OutputMapping1">
   <xsd:sequence>
    <xsd:element name="Request_ID" type="xsd:string"/>
    <xsd:element name="ServiceRequestID" type="xsd:string"/>
    <xsd:element name="ReturnMessage" type="xsd:string"/>
   </xsd:sequence>
  </xsd:complexType>
  <xsd:element name="AuthenticationInfo" type="s0:AuthenticationInfo"/>
  <xsd:complexType name="AuthenticationInfo">
   <xsd:sequence>
    <xsd:element name="userName" type="xsd:string"/>
    <xsd:element name="password" type="xsd:string"/>
    <xsd:element minOccurs="0" name="authentication" type="xsd:string"/>
    <xsd:element minOccurs="0" name="locale" type="xsd:string"/>
    <xsd:element minOccurs="0" name="timeZone" type="xsd:string"/>
   </xsd:sequence>
  </xsd:complexType>
 </xsd:schema>
 </wsdl:types>

  <wsdl:message name="New_Create_Operation_0SoapIn">

     <wsdl:part element="s0:New_Create_Operation_0" name="parameters">

     </wsdl:part>

  </wsdl:message>

  <wsdl:message name="ARAuthenticate">

     <wsdl:part element="s0:AuthenticationInfo" name="parameters">

     </wsdl:part>

  </wsdl:message>

  <wsdl:message name="New_Create_Operation_0SoapOut">

     <wsdl:part element="s0:New_Create_Operation_0Response" name="parameters">

     </wsdl:part>

  </wsdl:message>

  <wsdl:portType name="SetSubscriptionLabelPortType">

     <wsdl:operation name="New_Create_Operation_0">

        <wsdl:input message="s0:New_Create_Operation_0SoapIn">

      </wsdl:input>

        <wsdl:output message="s0:New_Create_Operation_0SoapOut">

      </wsdl:output>

     </wsdl:operation>

  </wsdl:portType>

  <wsdl:binding name="SetSubscriptionLabelSoapBinding" type="s0:SetSubscriptionLabelPortType">

     <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>

     <wsdl:operation name="New_Create_Operation_0">

        <soap:operation soapAction="urn:CNX_LRAY_ChangeCustomerLabel_WS/New_Create_Operation_0"
style="document"/>

        <wsdl:input>

           <soap:header message="s0:ARAuthenticate" part="parameters" use="literal">

           </soap:header>

           <soap:body use="literal"/>

        </wsdl:input>

        <wsdl:output>

           <soap:body use="literal"/>

        </wsdl:output>

     </wsdl:operation>

  </wsdl:binding>

  <wsdl:service name="CNX_LRAY_ChangeCustomerLabel_WSService">

 <wsdl:documentation>
Create Change Customer Label request upon successful validation of inputs.  </wsdl:documentation>

     <wsdl:port binding="s0:SetSubscriptionLabelSoapBinding" name="SetSubscriptionLabelSoap">

        <soap:address location="http://bmctmid01/arsys/services/ARService?
server=bmctrem01&amp;webService=CNX_LRAY_ChangeCustomerLabel_WS
"/>

     </wsdl:port>

  </wsdl:service>

</wsdl:definitions>

---------------END OF WSDL----------------------


This is the error (ARERR 5147) with and without a correctly configured proxy.
Error manual is as helpful as usual :-
Unknown error: error.
An unknown or unexpected error occurred. This message appears when Developer Studio
catches an unknown or unexpected exception. Use the reported error value to help identify the
root cause of the problem.


This is the extended text of the 5147 error:-
------------START OF ERROR MESSAGE----------------------
ERROR: URI not found http://schemas.xmlsoap.org/soap/encoding/

Additional Details:
Connection timed out: connect
com.bmc.arsys.ws.util.ARWSException: URI not found http://schemas.xmlsoap.org/soap/encoding/
 at com.bmc.arsys.ws.util.WsdlUtil.newDocument(Unknown Source)
 at com.bmc.arsys.ws.util.WsdlUtil.newDocument(Unknown Source)
 at com.bmc.arsys.ws.wsdl.XMLSchemaParser.extractFormDefaultValues(Unknown Source)
 at com.bmc.arsys.ws.wsdl.XMLSchemaParser.extractFormDefaultValues(Unknown Source)
 at com.bmc.arsys.ws.wsdl.XMLSchemaParser.parseXMLSchema(Unknown Source)
 at com.bmc.arsys.ws.wsdl.XMLSchemaParser.<init>(Unknown Source)
 at com.bmc.arsys.ws.wsdl.WsdlParser.createMappingDoc(Unknown Source)
 at com.bmc.arsys.ws.wsdl.WsdlParser.parseWsdl(Unknown Source)
 at com.bmc.arsys.ws.util.WsdlAdminInterface.parseWsdl(Unknown Source)
 at com.bmc.arsys.ws.util.WsdlAdminInterface.parseWSDLIntoMappingString(Unknown Source)
 at
com.bmc.arsys.studio.model.helper.webservices.WSDLWebService.createFromWSDL(WSDLWebService.java:671)
 at
com.bmc.arsys.studio.ui.editors.workflow.widgets.WebservicesComponent.reloadWSDLFile(WebservicesComponent.jav
a:598)
 at
com.bmc.arsys.studio.ui.editors.workflow.widgets.WebservicesComponent.access$2(WebservicesComponent.java:578)
 at
com.bmc.arsys.studio.ui.editors.workflow.widgets.WebservicesComponent$2.widgetSelected(WebservicesComponent.j
ava:419)
 at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
 at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
,  5147,  Untitled Filter

------------END OF ERROR MESSAGE----------------------

Strange thing is that I am able to get to http://schemas.xmlsoap.org/soap/encoding/ within an IE browser and
can see the XML ok.

Is the Dev Studio trying to get this schemas.xmlsoap.org WSDL/XML or is the SERVER?

The server does not have access to the internet so would not be able to load this schemas.xmlsoap.org URI

Any help would be greatly appreciated as I feel like I have been banging my head on this for a while.

Funny thing is that Admin-tool loads the WSDL from the mid-tier with no issues!!




Regards
Dave Morgan


_attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_