Yes, Filter Setfield From WEB SERVICE.

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Roger Justice
Sent: Saturday, April 09, 2011 12:15 PM
To: [email protected]
Subject: Re: Configuring Remedy to consume a web service question

 

** Consuming external WSDLs is done through filter actions.

 

-----Original Message-----
From: Angus Comber <[email protected]>
To: arslist <[email protected]>
Sent: Sat, Apr 9, 2011 2:04 pm
Subject: Configuring Remedy to consume a web service question

** 

Hello

 

I am trying to work out how to get Remedy to talk to an external web
service.  To get started I have created a dummy wsdl file (below) with a
very straightforward hello world message.

 

I am in Remedy Administrator v7.1 right clicked on Web Services, entered a
name and a base Remedy form.

 

Then I enter the path to the wsdl file in the XML Schema field and click
Load button.  But I get this error :-

 

ERROR: Schema \\angusnotebook\DriveC\HelloService.wsdl does not have root
element as schema

 

Additional Details:
com.bmc.arsys.ws.util.ARWSException: Schema
\\angusnotebook\DriveC\HelloService.wsdl does not have root element as
schema
 at
com.bmc.arsys.ws.wsdl.XMLSchemaParser.extractFormDefaultValues(XMLSchemaPars
er.java:238)
 at
com.bmc.arsys.ws.wsdl.XMLSchemaParser.parseXMLSchema(XMLSchemaParser.java:29
5)
 at com.bmc.arsys.ws.wsdl.XMLSchemaParser.<init>(XMLSchemaParser.java:110)
 at
com.bmc.arsys.ws.util.WsdlAdminInterface.parseXSDIntoSchemaInfo(WsdlAdminInt
erface.java:304)

 


What am I doing wrong?

 

Here is my wsdl file:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="HelloService"
   targetNamespace="http://www.ecerami.com/wsdl/HelloService.wsdl";
   xmlns="http://schemas.xmlsoap.org/wsdl/";
   xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
   xmlns:tns="http://www.ecerami.com/wsdl/HelloService.wsdl";
   xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
 
   <message name="SayHelloRequest">
      <part name="firstName" type="xsd:string"/>
   </message>
   <message name="SayHelloResponse">
      <part name="greeting" type="xsd:string"/>
   </message>
 
   <portType name="Hello_PortType">
      <operation name="sayHello">
         <input message="tns:SayHelloRequest"/>
         <output message="tns:SayHelloResponse"/>
      </operation>
   </portType>
   
   <binding name="Hello_Binding" type="tns:Hello_PortType">
      <soap:binding style="rpc" 
         transport="http://schemas.xmlsoap.org/soap/http"/>
      <operation name="sayHello">
         <soap:operation soapAction="sayHello"/>
         <input>
            <soap:body
               encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
               namespace="urn:examples:helloservice"
               use="encoded"/>
         </input>
         <output>
            <soap:body
               encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
               namespace="urn:examples:helloservice"
               use="encoded"/>
         </output>
      </operation>
   </binding>
 
   <service name="Hello_Service">
      <documentation>WSDL File for HelloService</documentation>
      <port binding="tns:Hello_Binding" name="Hello_Port">
         <soap:address 
            location="http://localhost:8080/soap"/>
      </port>
   </service>
</definitions>

 

Any ideas?

 

Angus

 

 

_attend WWRUG11 www.wwrug.com <http://www.wwrug.com/>  ARSlist: "Where the
Answers Are"_ 

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


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to