Hi Ajit,

I came across the same issue with the Apache Axis Client calling ARS Web
Service.
My findings below may be of some help.


The Axis generated stubs (from WSDL2Java) set all of the method
parameters to be in the header (specifically, lines of code in the stub
look like this next fragment, where the next to last parameter is true).
This controls whether input parameters are passed in the header or body.
I don't see a WSDL2Java
option to change this - it always generates them this way.

param = new org.apache.axis.description.ParameterDesc(new
javax.xml.namespace.QName("urn:ESS_Change_Submit", "type"),
org.apache.axis.description.ParameterDesc.IN, new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";;,
"string"),
java.lang.String.class, true, false);

Now that would explain why Remedy thinks the parameter is missing.  It
apparently is looking in the body only, not the header.

I went through the stub classes and manually changed all of them to be
'false' so the parameters are in the body.  Then it works!

Is this a bug in Axis, a bug in Remedy, or both?  Should Remedy support
having the parameters be in the header (which seems the default for
Axis/WSDL2Java at least based on Remedy's WSDL?)  At the very least
there seems to be a pretty painful incompatibility between Remedy and
Axis here.

G'day.

VISHAL SAXENA
Application Analyst | Wipro Technologies | India

-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Ajit Patil
Sent: Thursday, January 03, 2008 11:01 AM
To: [email protected]
Subject: WebServices Error

Hi All,

I am trying to create the request using Java program... For this i am
using WebService using Apache Axis 1.4. The Java program compiles fine
but whenever I try to run the program I m getting following error

------------------------------------------------------------------------
------
log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectR esourceBundle).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode:
 faultString:
MessageType: 2
MessageNum: 8961
MessageText: Required element expected in the input XML document
AppendedText: <Assigned_To>
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}hostname:REMEDY40
------------------------------------------------------------------------
---------
I am using ARS 7.0, MS SQL, Xerces XML Parser, Apache Axis 1.4

Please help me..

Thanks in advance...

Ajit Patil

--
View this message in context:
http://www.nabble.com/WebServices-Error-tp14592065p14592065.html
Sent from the ARS (Action Request System) mailing list archive at
Nabble.com.

________________________________________________________________________
_______
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org Platinum
Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to