Stephen,

Be aware that the WSDL may require an element when the form does not
require a value. You have to set the elements to be "nillable" (I
think) in the Remedy Web service for it to allow the client to "not
bother to send those elements at all."

Apparently "Required/Optional" values are not _by default_ translated
into the "nillable" operation/parts of the WSDL that is generated.

( In theory the WS client should deal with those parts too, but....)

--
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)

Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.
Never ascribe to malice, that which can be explained by incompetence.



On 7/19/06, Stephen Earl <[EMAIL PROTECTED]> wrote:
Our WSDL is a remedy auto-generated one and the fields are in the WSDL
however very few of them are officially 'required' but are optional.

The people wanting to use my webservice have been given a list of the
required fields and that's what they are sending, so they aren't
sending all the fields in the WSDL but are sending all the fields that
are 'mapped' inside the webservice.

I wasn't aware the mid-tier log would show us the whole transaction so
we'll give that a shot in the morning.

Stephen

On 19/07/06, Grooms, Frederick W <[EMAIL PROTECTED]> wrote:
> **
> With the mid-Tier logs set to the most detailed it will show you the XML
> being sent to Remedy.  What does it look like compared to the XML structure
> in the WSDL?
>
> Fred
> ________________________________
> From: Action Request System discussion list(ARSList)
> [mailto:[EMAIL PROTECTED] On Behalf Of Dan Hardy
> Sent: Wednesday, July 19, 2006 1:31 PM
> To: [email protected]
> Subject: Problem consuming Remedy web services using Axis
>
>
> **
>
> I'm accessing Remedy web services for the first time, and running into an
> error.
>
> I'm using Java/Axis as the client, and I generated the client stubs using
> WSDL2Java.  This gives me two classes (one for submitting requests, one for
> modifying requests), based on two WSDL files.
>
> When my code makes a request of either service, providing values for all
> parameters, I get an error like the below error - it seems the error always
> complains about the first element being missing.  This looks to me like the
> request is definitely getting to the AR Server, and it is rejecting the
> content.
>
> Any clues?  Are Remedy web services compatible with Axis clients?  I
> google'd and found a couple of other people that have hit this problem, but
> no solutions posted.
>
> Thanks,
> Dan
>
>
> MessageType: 2
>
> MessageNum: 8961
>
> MessageText: Required element expected in the input XML document
>
> AppendedText: <businessUnit>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org

Reply via email to