Presto wires..Registering WSDL service.

User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 03/26/2009
Points: 30

Normal
0

false
false
false

EN-US
X-NONE
X-NONE

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}

Normal
0

false
false
false

EN-US
X-NONE
X-NONE

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}

Hi,

 I am using presto 2.7 and attempting to register a .NET WSDL service running on windows.
In the 'Publish WSDL' window, I have entered the following URL:

http://170.97.107.124/wsEMG/Service.asmx?wsdl

Presto comes back, with a successful registration, but every time I look to see the details of this particular service, nothing appears under service access policies as well no functions are visible.

I see the following error in the log:

2009-06-12 11:28:23,452 ERROR [com.jackbe.jbp.sas.services.RdsUIFacadeImpl] - <REST access is not supported for this service (test2)>

What could be the problem?

Thanks.

 

 

0
Your rating: None
User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 03/26/2009
Points: 30

Normal
0

false
false
false

EN-US
X-NONE
X-NONE

MicrosoftInternetExplorer4

/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}

Hi,

I was able to register WSDL service with presto 2.7...
This service has several functions/operations, but when I attempt to virtualize this service and drag an service operation in to the designer - it doesn't create a "block" and stay...It seems to work only for the first operation for this service...

The following server error:  "F.schemas.map[G] is undefined" pops up...

User offline. Last seen 1 week 1 day ago. Offline
Joined: 09/22/2008
Points: 81

Is it possible to share the WSDL with us ? If not, can you go to the http://server:port/presto/dev - Repository Services - getServiceNSD - enter Service name and paste the output of that invocation here.

Thanks,

Kishore

User offline. Last seen 1 week 1 day ago. Offline
Joined: 09/22/2008
Points: 81

1) Please paste the stack trace from the presto log file / console.

2) If you have Firebug installed on your Firefox browser, please paste the error stack trace from Firebug when you access the block in Wires.

User offline. Last seen 1 year 11 weeks ago. Offline
Joined: 03/26/2009
Points: 30

Hi Kishore,

I was able to succesfully use the same WSDL on Presto2.6. , so I am currently proceeding with Presto 2.6...Although, I was hoping to work with the latest Jackbe offering.

Here is our WSDL:

<wsdl:definitions targetNamespace="http://elannep911.exh.prod.hud.gov/wsEMG/">

<wsdl:documentation>
<b><i>Providing Web Service for EMG Utilities.<i><b>
</wsdl:documentation>

<wsdl:types>

<s:schema elementFormDefault="qualified" targetNamespace="http://elannep911.exh.prod.hud.gov/wsEMG/">

<s:element name="CitrixUsrs">
<s:complexType/>
</s:element>

<s:element name="CitrixUsrsResponse">

<s:complexType>

<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="CitrixUsrsResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetUsrInfo">

<s:complexType>

<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="strFilter" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetUsrInfoResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="GetUsrInfoResult">

<s:complexType>

<s:sequence>
<s:element ref="s:schema"/>
<s:any/>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetUsrNICInfo">

<s:complexType>

<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="strFilter" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetUsrNICInfoResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="GetUsrNICInfoResult">

<s:complexType>

<s:sequence>
<s:element ref="s:schema"/>
<s:any/>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetUsrLoginIP">

<s:complexType>

<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="strFilter" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetUsrLoginIPResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="GetUsrLoginIPResult">

<s:complexType>

<s:sequence>
<s:element ref="s:schema"/>
<s:any/>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetSrvrPingAndChkShare">

<s:complexType>

<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="strFilter" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetSrvrPingAndChkShareResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="GetSrvrPingAndChkShareResult">

<s:complexType>

<s:sequence>
<s:element ref="s:schema"/>
<s:any/>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetNetAppCPUUsage">

<s:complexType>

<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="strFilter" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetNetAppCPUUsageResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="GetNetAppCPUUsageResult">

<s:complexType>

<s:sequence>
<s:element ref="s:schema"/>
<s:any/>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetNetAppCPUUsageFmDB">

<s:complexType>

<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="MetricID" type="s:int"/>
<s:element minOccurs="1" maxOccurs="1" name="ObjID" type="s:int"/>
<s:element minOccurs="1" maxOccurs="1" name="SeqNo" type="s:int"/>
</s:sequence>
</s:complexType>
</s:element>

<s:element name="GetNetAppCPUUsageFmDBResponse">

<s:complexType>

<s:sequence>

<s:element minOccurs="0" maxOccurs="1" name="GetNetAppCPUUsageFmDBResult">

<s:complexType>

<s:sequence>
<s:element ref="s:schema"/>
<s:any/>
</s:sequence>
</s:complexType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
</s:schema>
</wsdl:types>

<wsdl:message name="CitrixUsrsSoapIn">
<wsdl:part name="parameters" element="tns:CitrixUsrs"/>
</wsdl:message>

<wsdl:message name="CitrixUsrsSoapOut">
<wsdl:part name="parameters" element="tns:CitrixUsrsResponse"/>
</wsdl:message>

<wsdl:message name="GetUsrInfoSoapIn">
<wsdl:part name="parameters" element="tns:GetUsrInfo"/>
</wsdl:message>

<wsdl:message name="GetUsrInfoSoapOut">
<wsdl:part name="parameters" element="tns:GetUsrInfoResponse"/>
</wsdl:message>

<wsdl:message name="GetUsrNICInfoSoapIn">
<wsdl:part name="parameters" element="tns:GetUsrNICInfo"/>
</wsdl:message>

<wsdl:message name="GetUsrNICInfoSoapOut">
<wsdl:part name="parameters" element="tns:GetUsrNICInfoResponse"/>
</wsdl:message>

<wsdl:message name="GetUsrLoginIPSoapIn">
<wsdl:part name="parameters" element="tns:GetUsrLoginIP"/>
</wsdl:message>

<wsdl:message name="GetUsrLoginIPSoapOut">
<wsdl:part name="parameters" element="tns:GetUsrLoginIPResponse"/>
</wsdl:message>

<wsdl:message name="GetSrvrPingAndChkShareSoapIn">
<wsdl:part name="parameters" element="tns:GetSrvrPingAndChkShare"/>
</wsdl:message>

<wsdl:message name="GetSrvrPingAndChkShareSoapOut">
<wsdl:part name="parameters" element="tns:GetSrvrPingAndChkShareResponse"/>
</wsdl:message>

<wsdl:message name="GetNetAppCPUUsageSoapIn">
<wsdl:part name="parameters" element="tns:GetNetAppCPUUsage"/>
</wsdl:message>

<wsdl:message name="GetNetAppCPUUsageSoapOut">
<wsdl:part name="parameters" element="tns:GetNetAppCPUUsageResponse"/>
</wsdl:message>

<wsdl:message name="GetNetAppCPUUsageFmDBSoapIn">
<wsdl:part name="parameters" element="tns:GetNetAppCPUUsageFmDB"/>
</wsdl:message>

<wsdl:message name="GetNetAppCPUUsageFmDBSoapOut">
<wsdl:part name="parameters" element="tns:GetNetAppCPUUsageFmDBResponse"/>
</wsdl:message>

<wsdl:portType name="EMG_x0020_Web_x0020_ServicesSoap">

<wsdl:operation name="CitrixUsrs">

<wsdl:documentation>
This method fetches numbers of users logged in to Citrix.
</wsdl:documentation>
<wsdl:input message="tns:CitrixUsrsSoapIn"/>
<wsdl:output message="tns:CitrixUsrsSoapOut"/>
</wsdl:operation>

<wsdl:operation name="GetUsrInfo">

<wsdl:documentation>
This method fetches user info. based on IP provided.
</wsdl:documentation>
<wsdl:input message="tns:GetUsrInfoSoapIn"/>
<wsdl:output message="tns:GetUsrInfoSoapOut"/>
</wsdl:operation>

<wsdl:operation name="GetUsrNICInfo">

<wsdl:documentation>
This method fetches user workstation NIC spped setting based on IP provided.
</wsdl:documentation>
<wsdl:input message="tns:GetUsrNICInfoSoapIn"/>
<wsdl:output message="tns:GetUsrNICInfoSoapOut"/>
</wsdl:operation>

<wsdl:operation name="GetUsrLoginIP">

<wsdl:documentation>
This method fetches user login workstation IP address, based on user id provided.
</wsdl:documentation>
<wsdl:input message="tns:GetUsrLoginIPSoapIn"/>
<wsdl:output message="tns:GetUsrLoginIPSoapOut"/>
</wsdl:operation>

<wsdl:operation name="GetSrvrPingAndChkShare">

<wsdl:documentation>
This method fetches srvr c$ response and chkshare response.
</wsdl:documentation>
<wsdl:input message="tns:GetSrvrPingAndChkShareSoapIn"/>
<wsdl:output message="tns:GetSrvrPingAndChkShareSoapOut"/>
</wsdl:operation>

<wsdl:operation name="GetNetAppCPUUsage">
<wsdl:documentation>This method fetches NetApp CPU Usage Value.</wsdl:documentation>
<wsdl:input message="tns:GetNetAppCPUUsageSoapIn"/>
<wsdl:output message="tns:GetNetAppCPUUsageSoapOut"/>
</wsdl:operation>

<wsdl:operation name="GetNetAppCPUUsageFmDB">

<wsdl:documentation>
This method fetches NetApp CPU Usage Value from the Metrics Mall.
</wsdl:documentation>
<wsdl:input message="tns:GetNetAppCPUUsageFmDBSoapIn"/>
<wsdl:output message="tns:GetNetAppCPUUsageFmDBSoapOut"/>
</wsdl:operation>
</wsdl:portType>

<wsdl:binding name="EMG_x0020_Web_x0020_ServicesSoap" type="tns:EMG_x0020_Web_x0020_ServicesSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="CitrixUsrs">
<soap:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/CitrixUsrs" style="document"/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetUsrInfo">
<soap:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetUsrInfo" style="document"/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetUsrNICInfo">
<soap:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetUsrNICInfo" style="document"/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetUsrLoginIP">
<soap:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetUsrLoginIP" style="document"/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetSrvrPingAndChkShare">
<soap:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetSrvrPingAndChkShare" style="document"/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetNetAppCPUUsage">
<soap:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetNetAppCPUUsage" style="document"/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetNetAppCPUUsageFmDB">
<soap:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetNetAppCPUUsageFmDB" style="document"/>

<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:binding name="EMG_x0020_Web_x0020_ServicesSoap12" type="tns:EMG_x0020_Web_x0020_ServicesSoap">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="CitrixUsrs">
<soap12:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/CitrixUsrs" style="document"/>

<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetUsrInfo">
<soap12:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetUsrInfo" style="document"/>

<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetUsrNICInfo">
<soap12:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetUsrNICInfo" style="document"/>

<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetUsrLoginIP">
<soap12:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetUsrLoginIP" style="document"/>

<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetSrvrPingAndChkShare">
<soap12:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetSrvrPingAndChkShare" style="document"/>

<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetNetAppCPUUsage">
<soap12:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetNetAppCPUUsage" style="document"/>

<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>

<wsdl:operation name="GetNetAppCPUUsageFmDB">
<soap12:operation soapAction="http://elannep911.exh.prod.hud.gov/wsEMG/GetNetAppCPUUsageFmDB" style="document"/>

<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>

<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

<wsdl:service name="EMG_x0020_Web_x0020_Services">

<wsdl:documentation>
<b><i>Providing Web Service for EMG Utilities.<i><b>
</wsdl:documentation>

<wsdl:port name="EMG_x0020_Web_x0020_ServicesSoap" binding="tns:EMG_x0020_Web_x0020_ServicesSoap">
<soap:address location="http://elannep911.exh.prod.hud.gov/wsEMG/Service.asmx"/>
</wsdl:port>

<wsdl:port name="EMG_x0020_Web_x0020_ServicesSoap12" binding="tns:EMG_x0020_Web_x0020_ServicesSoap12">
<soap12:address location="http://elannep911.exh.prod.hud.gov/wsEMG/Service.asmx"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
 

girish's picture
User offline. Last seen 1 day 1 hour ago. Offline
Joined: 09/22/2008
Points: 70

Hi Murali,

Could you attach the WSDL to this post ? I copied the WSDL posted above, but looks like few namespace definitions are missing in that.

- Girish@JackBe

girish's picture
User offline. Last seen 1 day 1 hour ago. Offline
Joined: 09/22/2008
Points: 70

Hi Murali,

Please see the attached  WSDL (missing namespace definitions are added) and its' working fine in 2.7.0. The registration went thru fine and in service explorer, we can see all the operations and the details for each operation.

www.jackbe.com/enterprise-mashup/sites/default/files/test_wsdl.txt

So, please try it out and let us know if you have any issues.

- Girish@JackBe