#133815 - 03/20/06 04:41 AM
Publishing a Web Service to create new request
|
newbie
Registered: 03/06/06
Posts: 24
|
**
Good morning listers,
I'm having issues in creating a Web Service in Remedy that can be used to create a new request in Remedy. Basically, all I'm trying to do is create a web service on a custom form I've built, that asks the "consumer" to input one field. This "one field" creates a new request in Remedy and saves the value and returns a success or failure.
The issue I'm having, is that anytime I try to create a Web Service (Have tried with opCreate), it defaults to setting up mappings for every single field on the form, when all I want is 1 field. It also sets up some sort of authentication request? I don't really want any of this. The web service is supossed to be consumed by a custom java api that will collect identification numbers in Remedy. Remedy at that point checks to find additional information on the identification # that was sent to it (i.e. Person's Name, phone #, etc.) and stores it elsewhere in the form. If the identification # isn't in the system, it runs a filter to retrieve the information out of another database, and brings the information back into the SHR:People form as a new person, and then back to the custom form I've created.
So basically, I can't create a web service that will only allow me to map 1 input field, as it by default, keeps saving all the fields on the form + some authentication fields. Am I doing something wrong?
Any help would be appreciated. Thanks!
v/r
One step ahead of IT. In step with your business.
Christopher Gillman Consultant
generationE Technologies 2607 W. 22nd Street Suite 47 Oak Brook, IL 60523
christopher.gillman@generationetech.com AIM: usafairmang1
tel: fax: mobile:
847-824-6712 847-824-6722 847-902-2972
Add me to your address book...
Want a signature like this?
20060125This posting was submitted with HTML in it
|
|
Top
|
|
|
|
|
#133816 - 03/20/06 04:44 AM
Re: Publishing a Web Service to create new request
[Re: craig_c_price]
|
journeyman
Registered: 08/26/05
Posts: 54
|
** Hi Christopher, Which versions or ARServer and Mid-Tier are you using? Eric Cleereman
-----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG]On Behalf Of Christopher Gillman Sent: Monday, March 20, 2006 11:42 AM To: arslist@ARSLIST.ORG Subject: Publishing a Web Service to create new request **
Good morning listers,
I’m having issues in creating a Web Service in Remedy that can be used to create a new request in Remedy. Basically, all I’m trying to do is create a web service on a custom form I’ve built, that asks the “consumer” to input one field. This “one field” creates a new request in Remedy and saves the value and returns a success or failure.
The issue I’m having, is that anytime I try to create a Web Service (Have tried with opCreate), it defaults to setting up mappings for every single field on the form, when all I want is 1 field. It also sets up some sort of authentication request? I don’t really want any of this… The web service is supossed to be consumed by a custom java api that will collect identification numbers in Remedy. Remedy at that point checks to find additional information on the identification # that was sent to it (i.e. Person’s Name, phone #, etc.) and stores it elsewhere in the form. If the identification # isn’t in the system, it runs a filter to retrieve the information out of another database, and brings the information back into the SHR:People form as a new person, and then back to the custom form I’ve created.
So basically, I can’t create a web service that will only allow me to map 1 input field, as it by default, keeps saving all the fields on the form + some authentication fields. Am I doing something wrong?
Any help would be appreciated. Thanks!
v/r
One step ahead of IT. In step with your business.
Christopher Gillman Consultant
generationE Technologies 2607 W. 22nd Street Suite 47 Oak Brook, IL 60523
christopher.gillman@generationetech.com AIM: usafairmang1
tel: fax: mobile:
847-824-6712 847-824-6722 847-902-2972
Add me to your address book...
Want a signature like this?
20060125This posting was submitted with HTML in it
20060125This posting was submitted with HTML in it
|
|
Top
|
|
|
|
|
#133817 - 03/20/06 04:52 AM
Re: Publishing a Web Service to create new request
[Re: craig_c_price]
|
newbie
Registered: 06/20/05
Posts: 46
|
** Hi Christoper you can create a simple xml schema document (xsd) to map only 1 or more field. when create the web service import the xsd file. For the authentication you can set the anonimus user in the mid-tier config. Bye Mauro
2006/3/20, Christopher Gillman :
**
Good morning listers,
I'm having issues in creating a Web Service in Remedy that can be used to create a new request in Remedy. Basically, all I'm trying to do is create a web service on a custom form I've built, that asks the "consumer" to input one field. This "one field" creates a new request in Remedy and saves the value and returns a success or failure.
The issue I'm having, is that anytime I try to create a Web Service (Have tried with opCreate), it defaults to setting up mappings for every single field on the form, when all I want is 1 field. It also sets up some sort of authentication request? I don't really want any of this… The web service is supossed to be consumed by a custom java api that will collect identification numbers in Remedy. Remedy at that point checks to find additional information on the identification # that was sent to it ( i.e. Person's Name, phone #, etc.) and stores it elsewhere in the form. If the identification # isn't in the system, it runs a filter to retrieve the information out of another database, and brings the information back into the SHR:People form as a new person, and then back to the custom form I've created.
So basically, I can't create a web service that will only allow me to map 1 input field, as it by default, keeps saving all the fields on the form + some authentication fields. Am I doing something wrong?
Any help would be appreciated. Thanks!
v/r
One step ahead of IT. In step with your business.
Christopher Gillman Consultant
generationE Technologies 2607 W. 22nd Street Suite 47 Oak Brook, IL 60523
christopher.gillman@generationetech.com AIM: usafairmang1
tel: fax: mobile:
847-824-6712 847-824-6722 847-902-2972
Add me to your address book...
Want a signature like this?
20060125This posting was submitted with HTML in it
20060125This posting was submitted with HTML in it
|
|
Top
|
|
|
|
|
#133818 - 03/20/06 05:04 AM
Re: Publishing a Web Service to create new request
[Re: craig_c_price]
|
newbie
Registered: 03/06/06
Posts: 24
|
**
**
Eric,
Sorry about that ARServer 6.3 Patch 13, Mid-Tier Patch 15.
v/r
Chris
20060125This posting was submitted with HTML in it 20060125This posting was submitted with HTML in it
|
|
Top
|
|
|
|
|
#133819 - 03/20/06 05:06 AM
Re: Publishing a Web Service to create new request
[Re: craig_c_price]
|
newbie
Registered: 03/06/06
Posts: 24
|
**
Mauro,
I'm not exactly sure how to create and xsd xml schema document, I thought Remedy was supossed to do this for you ?
v/r
From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Mauro Pedone Sent: Monday, March 20, 2006 10:53 AM To: arslist@ARSLIST.ORG Subject: Re: Publishing a Web Service to create new request
**
Hi Christoper
you can create a simple xml schema document (xsd) to map only 1 or more field.
when create the web service import the xsd file.
For the authentication you can set the anonimus user in the mid-tier config.
Bye
Mauro
2006/3/20, Christopher Gillman :
**
20060125This posting was submitted with HTML in it
|
|
Top
|
|
|
|
|
#133820 - 03/20/06 05:11 AM
Re: Publishing a Web Service to create new request
[Re: craig_c_price]
|
old hand
Registered: 06/12/01
Posts: 930
|
** By default Remedy defines all fields in the XML. What you can do is unmap and delete the fields you do not want. To Delete the fields Right-Click on the field in the right hand window and select Cut. As for the authentication you can do 1 of 2 things. Either define the anonymous login (in the MId-Tier configuration) or pass in a login in the AuthenticationInfo of the Header. The Remedy server always requires logging in in some form or fashon. Fred
From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Christopher Gillman Sent: Monday, March 20, 2006 10:42 AM To: arslist@ARSLIST.ORG Subject: Publishing a Web Service to create new request
**
Good morning listers,
I'm having issues in creating a Web Service in Remedy that can be used to create a new request in Remedy. Basically, all I'm trying to do is create a web service on a custom form I've built, that asks the "consumer" to input one field. This "one field" creates a new request in Remedy and saves the value and returns a success or failure.
The issue I'm having, is that anytime I try to create a Web Service (Have tried with opCreate), it defaults to setting up mappings for every single field on the form, when all I want is 1 field. It also sets up some sort of authentication request? I don't really want any of this. The web service is supossed to be consumed by a custom java api that will collect identification numbers in Remedy. Remedy at that point checks to find additional information on the identification # that was sent to it (i.e. Person's Name, phone #, etc.) and stores it elsewhere in the form. If the identification # isn't in the system, it runs a filter to retrieve the information out of another database, and brings the information back into the SHR:People form as a new person, and then back to the custom form I've created.
So basically, I can't create a web service that will only allow me to map 1 input field, as it by default, keeps saving all the fields on the form + some authentication fields. Am I doing something wrong?
Any help would be appreciated. Thanks!
v/r
20060125This posting was submitted with HTML in it
|
|
Top
|
|
|
|
|
#133821 - 03/20/06 05:09 AM
Re: Publishing a Web Service to create new request
[Re: craig_c_price]
|
journeyman
Registered: 08/26/05
Posts: 54
|
** Another trick I use for this is:
* Click the Input Mapping button * In the right pane, select any fields you don't want mapped. (you can select multiple fields using Shift or CTRL and the mouse) * Right click, and choose cut. The fields are removed, and won't show up in the generated WSDL at all.
Eric Cleereman
-----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG]On Behalf Of Mauro Pedone Sent: Monday, March 20, 2006 11:53 AM To: arslist@ARSLIST.ORG Subject: Re: Publishing a Web Service to create new request ** Hi Christoper you can create a simple xml schema document (xsd) to map only 1 or more field. when create the web service import the xsd file. For the authentication you can set the anonimus user in the mid-tier config. Bye Mauro 2006/3/20, Christopher Gillman :
**
Good morning listers,
I'm having issues in creating a Web Service in Remedy that can be used to create a new request in Remedy. Basically, all I'm trying to do is create a web service on a custom form I've built, that asks the "consumer" to input one field. This "one field" creates a new request in Remedy and saves the value and returns a success or failure.
The issue I'm having, is that anytime I try to create a Web Service (Have tried with opCreate), it defaults to setting up mappings for every single field on the form, when all I want is 1 field. It also sets up some sort of authentication request? I don't really want any of this… The web service is supossed to be consumed by a custom java api that will collect identification numbers in Remedy. Remedy at that point checks to find additional information on the identification # that was sent to it ( i.e. Person's Name, phone #, etc.) and stores it elsewhere in the form. If the identification # isn't in the system, it runs a filter to retrieve the information out of another database, and brings the information back into the SHR:People form as a new person, and then back to the custom form I've created.
So basically, I can't create a web service that will only allow me to map 1 input field, as it by default, keeps saving all the fields on the form + some authentication fields. Am I doing something wrong?
Any help would be appreciated. Thanks!
v/r
One step ahead of IT. In step with your business.
Christopher Gillman Consultant
generationE Technologies 2607 W. 22nd Street Suite 47 Oak Brook, IL 60523
christopher.gillman@generationetech.com AIM: usafairmang1
tel: fax: mobile:
847-824-6712 847-824-6722 847-902-2972
Add me to your address book...
Want a signature like this?
20060125This posting was submitted with HTML in it
20060125This posting was submitted with HTML in it
20060125This posting was submitted with HTML in it
|
|
Top
|
|
|
|
|
#133822 - 03/20/06 05:13 AM
Re: Publishing a Web Service to create new request
[Re: craig_c_price]
|
newbie
Registered: 06/20/05
Posts: 46
|
** Christopher I don't know if there is a remedy tool to do this. I write an xsd file by hand and it works well example xsd:
targetNamespace="http://www.w3schools.com "
xmlns="http://www.w3schools.com "
elementFormDefault="qualified">
2006/3/20, Christopher Gillman :
**
Mauro,
I'm not exactly sure how to create and xsd xml schema document, I thought Remedy was supossed to do this for you ?
v/r
From: Action Request System discussion list(ARSList) [mailto: arslist@ARSLIST.ORG] On Behalf Of Mauro Pedone Sent: Monday, March 20, 2006 10:53 AM To: arslist@ARSLIST.ORG Subject: Re: Publishing a Web Service to create new request
**
Hi Christoper
you can create a simple xml schema document (xsd) to map only 1 or more field.
when create the web service import the xsd file.
For the authentication you can set the anonimus user in the mid-tier config.
Bye
Mauro
2006/3/20, Christopher Gillman < christopher.gillman@generationetech.com >:
**
20060125This posting was submitted with HTML in it
20060125This posting was submitted with HTML in it
|
|
Top
|
|
|
|
|
#133823 - 03/20/06 09:54 AM
Re: Publishing a Web Service to create new request
[Re: craig_c_price]
|
newbie
Registered: 03/06/06
Posts: 24
|
I've been able to construct a WSDL that grabs just the one field, however, the client is not able to consume it properly they responded with the following, and the particular error isn't in the KB anywhere. Does anyone have any suggestions?
Chris,
I am getting the following error message when invoking the web service.
calling http://hlpweb2t.devry.edu/arsys/services/ARService?server=hlpapp1t&webSe rvice=TestValidateSSO
javax.xml.rpc.soap.SOAPFaultException: ARERR [9329] The location does not have the required parameter server or webService
One step ahead of IT. In step with your business.
Christopher Gillman Consultant generationE Technologies 2607 W. 22nd Street Suite 47 Oak Brook, IL 60523 christopher.gillman@generationetech.com AIM: usafairmang1 tel: fax: mobile: 847-824-6712 847-824-6722 847-902-2972
Add me to your address book... Want a signature like this?
UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
|
|
Top
|
|
|
|
|
#133824 - 03/20/06 09:57 AM
Re: Publishing a Web Service to create new request
[Re: craig_c_price]
|
journeyman
Registered: 03/14/06
Posts: 133
|
**
Christopher:
Are you running a Mid-Tier server against the Remedy server? You need this in order to consume a web service.
James McKenzie
-----Original Message----- From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG]On Behalf Of Christopher Gillman Sent: Monday, March 20, 2006 2:55 PM To: arslist@ARSLIST.ORG Subject: Re: Publishing a Web Service to create new request
I've been able to construct a WSDL that grabs just the one field, however, the client is not able to consume it properly they responded with the following, and the particular error isn't in the KB anywhere. Does anyone have any suggestions?
Chris,
I am getting the following error message when invoking the web service.
calling http://hlpweb2t.devry.edu/arsys/services/ARService?server=hlpapp1t&webSe rvice=TestValidateSSO
javax.xml.rpc.soap.SOAPFaultException: ARERR [9329] The location does not have the required parameter server or webService
One step ahead of IT. In step with your business.
Christopher Gillman Consultant generationE Technologies 2607 W. 22nd Street Suite 47 Oak Brook, IL 60523 christopher.gillman@generationetech.com AIM: usafairmang1 tel: fax: mobile: 847-824-6712 847-824-6722 847-902-2972
Add me to your address book... Want a signature like this?
UNSUBSCRIBE or access ARSlist Archives at http://www.ARSLIST.org
20060125This posting was submitted with HTML in it
|
|
Top
|
|
|
|
|
|
|