I wanted to update you on the progress of this issue. We have found a workaround, and are now able to get the Entry ID return. Here's what we did:
I wanted to see if any other fields besides the Request ID would be returned, and so added a second field to the Output mapping of the OpCreate operation of the Web Service. I then returned that field (the Create_Date) to a variable, but then did nothing with it. Suddenly the Request ID began appearing in the return. So it seems that the process or procedure that parses the returned XML file to pull out the Request ID into a string had a problem when there was just one element in the file. As soon as there were two, or a list of elements, it worked. -Aaron * Email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Aaron Keller Sent: Monday, February 04, 2008 4:08 PM To: [email protected] Subject: Web Services - OpCreate not returning Request ID ** We've set up a web service on a form to allow the creation of a ticket. The create works and the ticket IS created, but the ticket id is not returned (a null is returned instead) Has anyone run into this, or better yet - fixed it? Our setup is: ARS v6.3 patch 23, midtier also v6.3 patch 23, using apache and the ServletExec that comes with the mid-tier. The form is a bare bones form - core fields only, open to Public. The web service is all the default operations, and is also open to Public. The web service client is coded in .NET and it is included below. It builds fine with no errors. And, the mid-tier logs show a return, which is also below. But somehow that doesn't end up in the client. Any help would be much appreciated. -Aaron The code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml; using System.Xml.Linq; using WSClient.WebRef; namespace WSClient {class Program {static void Main(string[] args) {WS_TESTformPortTypeClient proxy = new WS_TESTformPortTypeClient(); AuthenticationInfo authInfo = new AuthenticationInfo(); authInfo.userName = "oms_id"; authInfo.password = "pass"; String Assigned_To; String Short_Description; StatusType Status; String Submitter; String Request_ID; Assigned_To = "Frank"; Short_Description = "Testing web service"; Status = StatusType.New; Submitter = "Joe"; Request_ID = proxy.OpCreate(authInfo, Assigned_To, Short_Description, Status, Submitter); Console.WriteLine("Successfully created a request with id: " + Request_ID); } } } The log: Feb 4, 2008 3:53:08 PM - FINE (com.remedy.midtier.WEBSERVICES) : (Thread 11) Operation Info: <?xml version="1.0" encoding="windows-1252"?> <operation name="OpCreate" type="create"> <inputMapping name="CreateInputMap" topLevelElement="OpCreate"/> <outputMapping name="CreateOutputMap" topLevelElement="OpCreateResponse"/> </operation> Feb 4, 2008 3:53:08 PM - FINE (com.remedy.midtier.WEBSERVICES) : (Thread 11) input document: <?xml version="1.0" encoding="UTF-8"?> <ROOT xmlns="urn:WS_TESTform"><Assigned_To>Frank</Assigned_To><Short_Descripti on>Testing web service</Short_Description><Status>New</Status><Submitter>Joe</Submitter ></ROOT> Feb 4, 2008 3:53:08 PM - FINE (com.remedy.midtier.WEBSERVICES) : (Thread 11) output document from AR Server: <?xml version="1.0" encoding="utf-8"?> <ROOT xmlns="urn:TESTform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Request_ID>000000000000025</Request_ID> </ROOT> SunCom is the wireless company that's committed to doing things differently. Things we want you to know. This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication may contain material protected by the attorney-client privilege. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___ SunCom is the wireless company that's committed to doing things differently. Things we want you to know. This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication may contain material protected by the attorney-client privilege. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

