Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 16873 invoked from network); 23 Oct 2007 00:16:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Oct 2007 00:16:24 -0000 Received: (qmail 33567 invoked by uid 500); 23 Oct 2007 00:16:05 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 32547 invoked by uid 500); 23 Oct 2007 00:16:03 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 32533 invoked by uid 99); 23 Oct 2007 00:16:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Oct 2007 17:16:03 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rupadhyayula@responsys.com designates 206.173.245.221 as permitted sender) Received: from [206.173.245.221] (HELO mail.responsys.com) (206.173.245.221) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2007 00:16:07 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C81509.DC01574D" Subject: RE: AXIS Fault "Required Attribute localType is null" Date: Mon, 22 Oct 2007 17:15:47 -0700 Message-ID: In-Reply-To: <20843862.1193093301204.JavaMail.SVC_SecMsg@WPSCV6GY> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AXIS Fault "Required Attribute localType is null" Thread-Index: AcgU/UPEqgRc6x4aS/yYC0TniZvZHwAAFKXwAAL+GhA= References: <20843862.1193093301204.JavaMail.SVC_SecMsg@WPSCV6GY> From: "Raghu Upadhyayula" To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C81509.DC01574D Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Saket, =20 Can you post your WSDL? From the Axis Fault it looks like you have a variable named "type" in the Incident object which is defined as not nullable in WSDL and you are not setting that in your request. =20 Thanks Raghu =20 ________________________________ From: Saket Raizada [mailto:saket.raizada.slnm@statefarm.com]=20 Sent: Monday, October 22, 2007 3:48 PM To: axis-user@ws.apache.org Subject: AXIS Fault "Required Attribute localType is null"=20 =20 =20 Hi Folks,=20 I am using AXIS 2, 1.3 and created a client for an existing WebService=20 I am trying to use the WebService to create an incident using the example code below=20 StringType contact =3D new StringType();=20 contact.setString("user1");=20 incident.setContact(contact);=20 stub.createIncident(incident)=20 I get an AXIS Fault "Required Attribute localType is null" , there is no SOAP body message generated..., however if i comment out the line //incident.setContact(contact) , the incident gets generated and i can see the SOAP messages etc.=20 I am using ADB binding and am out of ideas what localType is (it's not part of incident or web service that i am trying to access) also no SOAP BODY XML is generated. Any pointers will be very helpful=20 -machoq=20 ------_=_NextPart_001_01C81509.DC01574D Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable AXIS Fault "Required Attribute localType is null" =

Hi = Saket,

 

      =       Can you post your WSDL?  From the Axis Fault it looks like you have a variable named = “type” in the Incident object which is defined as not nullable in WSDL and you are = not setting that in your request.

 

Thanks

Raghu

 


From: Saket = Raizada [mailto:saket.raizada.slnm@statefarm.com]
Sent: Monday, October 22, = 2007 3:48 PM
To: = axis-user@ws.apache.org
Subject: AXIS Fault = "Required Attribute localType is null"

 

 

Hi Folks,
I am using AXIS 2, 1.3 and created a client for an existing WebService =
I am trying to use the WebService to create an incident using the = example code below
StringType contact =3D new StringType();
contact.setString("user1");
incident.setContact(contact);
stub.createIncident(incident)
I get an AXIS Fault "Required = Attribute localType is null" , there is no SOAP body message generated..., however if i comment out the = line

//incident.setContact(contact) , the incident gets generated and i can see the SOAP messages etc.
I am using ADB binding and am out of ideas what localType is (it's not = part of incident or web service that i am trying to access) also no SOAP BODY = XML is generated.

Any pointers will be very helpful
-machoq

------_=_NextPart_001_01C81509.DC01574D--