Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 89928 invoked from network); 22 Aug 2008 00:17:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2008 00:17:17 -0000 Received: (qmail 81022 invoked by uid 500); 22 Aug 2008 00:17:07 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 80905 invoked by uid 500); 22 Aug 2008 00:17:06 -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 80894 invoked by uid 99); 22 Aug 2008 00:17:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2008 17:17:06 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.116.106 as permitted sender) Received: from [65.55.116.106] (HELO blu0-omc3-s31.blu0.hotmail.com) (65.55.116.106) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 00:16:06 +0000 Received: from BLU142-W20 ([65.55.116.72]) by blu0-omc3-s31.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Aug 2008 17:16:14 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_fbdc0f39-6d90-4ded-a39f-1511e5f9b319_" X-Originating-IP: [66.31.120.20] From: Martin Gainty To: Subject: RE: Identified AXIS2 Unexpected Element issue but how do I get this to work with stubs Date: Thu, 21 Aug 2008 20:16:14 -0400 Importance: Normal In-Reply-To: <19098976.post@talk.nabble.com> References: <19063214.post@talk.nabble.com> <12f870d60808201741o30a4268fp66e2bf33753eb6d9@mail.gmail.com> <19098976.post@talk.nabble.com> MIME-Version: 1.0 X-OriginalArrivalTime: 22 Aug 2008 00:16:14.0534 (UTC) FILETIME=[49FE5660:01C903EC] X-Virus-Checked: Checked by ClamAV on apache.org --_fbdc0f39-6d90-4ded-a39f-1511e5f9b319_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable can you forward the namespace assignments which you will see at the top of = the schema definition e.g. Martin=20 ______________________________________________=20 Disclaimer and confidentiality note=20 Everything in this e-mail and any attachments relates to the official busin= ess of Sender. This transmission is of a confidential nature and Sender doe= s not endorse distribution to any party other than intended recipient. Send= er does not necessarily endorse content contained within this transmission.= =20 > Date: Thu=2C 21 Aug 2008 16:35:19 -0700 > From: andrew.zielinski.is@gmail.com > To: axis-user@ws.apache.org > Subject: Re: Identified AXIS2 Unexpected Element issue but how do I get t= his to work with stubs >=20 >=20 > Here you go. Any help is much appreciated. >=20 > > targetNamespace=3D"http://online.nielsen.com/ca/api/"> >=20 > > =09 > >=20 > =09 > > > > > > maxOccurs=3D"1" /> > > maxOccurs=3D"unbounded" /> > > >=20 > =09 > > > /> > > > =09 > > > > > =09 > > =09 > > > > > =09 > > =09 > > > > > =09 > =09 > > =09 > > > > maxOccurs=3D"1"/> > > > > =09 > =09 > > > > > > > > > =09 > > > > > > > =09 > =09 > > > > > > > > =09 > =09 > =09 > > >=20 >=20 >=20 >=20 > Eran Chinthaka-3 wrote: > >=20 > > Can you share the types section of your WSDL file? > >=20 > > On Wed=2C Aug 20=2C 2008 at 1:42 AM=2C Andrew Zielinski > gmail.com> wrote: > >=20 > >> > >> Hi=2C > >> > >> Like many users I was having issues with 'unexpected element'. With th= e > >> help > >> of TCPMon I was able to resolve the issue. Instead of the soap request > >> being > >> formed like this: > >> > >> > >> >> xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/ > >> "> > >> > >> > >> 55 > >> > >> 2008-11-01T00:00:00.000+10:00 > >> 2008-11-01T00:00:00.000+10:00 > >> > >> > >> > >> > >> > >> I would need to specify the namespace and prefix in soapenv:Envelope l= ike > >> this: > >> > >> > >> >> xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap/envelope/ > >> " > >> xmlns:q0=3D"http://online.nielsen.com/ca/api/"> > >> > >> > >> 55 > >> > >> 2008-11-01T00:00:00.000+10:00 > >> 2008-11-01T00:00:00.000+10:00 > >> > >> > >> > >> > >> > >> My question is=2C is there anyway to modify the stub request so it is = like > >> the > >> second example or is there anything that I would I have to do to my WS= DL > >> for > >> the first request to be valid. > >> > >> Cheers=2C > >> > >> Andrew > >> > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Identified-AXIS2-Unexpected-Element-issue-but-ho= w-do-I-get-this-to-work-with-stubs-tp19063214p19063214.html > >> Sent from the Axis - User mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe=2C e-mail: axis-user-unsubscribe@ws.apache.org > >> For additional commands=2C e-mail: axis-user-help@ws.apache.org > >> > >> > >=20 > >=20 > > --=20 > > With Mettha=2C > > Eran Chinthaka > >=20 > > -------------------------------------------------------------------- > > Health is the greatest gift=3B contentment is the greatest wealth=3B tr= usting > > is > > the best relationship=3B nirvana is the highest joy. - Dhammapada > >=20 > >=20 >=20 > --=20 > View this message in context: http://www.nabble.com/Identified-AXIS2-Unex= pected-Element-issue-but-how-do-I-get-this-to-work-with-stubs-tp19063214p19= 098976.html > Sent from the Axis - User mailing list archive at Nabble.com. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe=2C e-mail: axis-user-unsubscribe@ws.apache.org > For additional commands=2C e-mail: axis-user-help@ws.apache.org >=20 _________________________________________________________________ Be the filmmaker you always wanted to be=97learn how to burn a DVD with Win= dows=AE. http://clk.atdmt.com/MRT/go/108588797/direct/01/= --_fbdc0f39-6d90-4ded-a39f-1511e5f9b319_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable can you forward the namespace assignments which you will see at the top of = the schema definition
e.g.
<=3Bxsd:schema
 =3B =3B = =3B xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema"
...
>=3B

= Martin
______________________________________________
Disclaimer an= d confidentiality note
Everything in this e-mail and any attachments re= lates to the official business of Sender. This transmission is of a confide= ntial nature and Sender does not endorse distribution to any party other th= an intended recipient. Sender does not necessarily endorse content containe= d within this transmission.


>=3B Date: Thu=2C 21 Aug 2008 16:= 35:19 -0700
>=3B From: andrew.zielinski.is@gmail.com
>=3B To: axi= s-user@ws.apache.org
>=3B Subject: Re: Identified AXIS2 Unexpected Ele= ment issue but how do I get this to work with stubs
>=3B
>=3B >=3B Here you go. Any help is much appreciated.
>=3B
>=3B &= lt=3Btypes>=3B
>=3B <=3Bschema xmlns=3D"http://www.w3.org/2001/X= MLSchema"
>=3B targetNamespace=3D"http://online.nielsen.com/ca/api/"&g= t=3B
>=3B
>=3B <=3Belement name=3D"Summary" type=3D"ca:Repo= rt" />=3B
>=3B
>=3B <=3Belement name=3D"SummaryRequest= " type=3D"ca:SummaryRequest"/>=3B
>=3B
>=3B
>=3B &= lt=3BcomplexType name=3D"SummaryRequest">=3B
>=3B <=3Bsequenc= e>=3B
>=3B <=3Belement name=3D"accountId" type=3D"unsignedLo= ng" nillable=3D"false" />=3B
>=3B <=3Belement name=3D"dateRa= nge" type=3D"ca:DateRange" nillable=3D"false" />=3B
>=3B <= =3Belement name=3D"mode" type=3D"string" minOccurs=3D"0" maxOccurs=3D"1" /&= gt=3B
>=3B <=3Belement name=3D"pagination" type=3D"ca:Paginati= on" minOccurs=3D"0"
>=3B maxOccurs=3D"1" />=3B
>=3B <= =3Belement name=3D"sort" type=3D"ca:Sort" minOccurs=3D"0" maxOccurs=3D"1" /= >=3B
>=3B <=3Belement name=3D"metricType" type=3D"string" mi= nOccurs=3D"0"
>=3B maxOccurs=3D"unbounded" />=3B
>=3B <= =3B/sequence>=3B
>=3B <=3B/complexType>=3B
>=3B
>= =3B
>=3B <=3BcomplexType name=3D"Criteria">=3B
>=3B = <=3Bsequence>=3B
>=3B <=3Belement name=3D"key" type=3D"ca= :Key" minOccurs=3D"1" maxOccurs=3D"unbounded"
>=3B />=3B
>=3B = <=3B/sequence>=3B
>=3B <=3B/complexType>=3B
>=3B =
>=3B <=3BcomplexType name=3D"Sort">=3B
>=3B <=3Bse= quence>=3B
>=3B <=3Belement name=3D"metricType" type=3D"strin= g"/>=3B
>=3B <=3Belement name=3D"direction" type=3D"string"/&= gt=3B
>=3B <=3B/sequence>=3B
>=3B <=3B/complexType&= gt=3B
>=3B
>=3B <=3BcomplexType name=3D"Pagination">= =3B
>=3B <=3Bsequence>=3B
>=3B <=3Belement name=3D= "start" type=3D"int"/>=3B
>=3B <=3Belement name=3D"end" type= =3D"int"/>=3B
>=3B <=3B/sequence>=3B
>=3B <=3B/co= mplexType>=3B
>=3B
>=3B <=3BcomplexType name=3D"DateRa= nge">=3B
>=3B <=3Bsequence>=3B
>=3B <=3Belement = name=3D"start" type=3D"dateTime"/>=3B
>=3B <=3Belement name= =3D"end" type=3D"dateTime"/>=3B
>=3B <=3B/sequence>=3B
&= gt=3B <=3Battribute name=3D"type" type=3D"string"/>=3B
>=3B= <=3B/complexType>=3B
>=3B
>=3B <=3BcomplexType n= ame=3D"Report">=3B
>=3B <=3Bsequence>=3B
>=3B <= =3Belement name=3D"processed" type=3D"dateTime"/>=3B
>=3B <= =3Belement name=3D"livedataProcessed" type=3D"dateTime" minOccurs=3D"0"
= >=3B maxOccurs=3D"1"/>=3B
>=3B <=3Belement name=3D"rowCount= " type=3D"long"/>=3B
>=3B <=3Belement name=3D"row" type=3D"ca= :Row" maxOccurs=3D"unbounded"/>=3B
>=3B <=3B/sequence>=3B>=3B <=3B/complexType>=3B
>=3B
>=3B <=3Bcom= plexType name=3D"Row">=3B
>=3B <=3Bsequence>=3B
>=3B = <=3Belement name=3D"name" type=3D"string" minOccurs=3D"0" maxOccurs=3D= "1"/>=3B
>=3B <=3Belement name=3D"key" type=3D"ca:Key" maxOcc= urs=3D"unbounded"/>=3B
>=3B <=3Belement name=3D"metric" type= =3D"ca:Metric" maxOccurs=3D"unbounded"/>=3B
>=3B <=3B/sequence= >=3B
>=3B <=3Battribute name=3D"position" type=3D"long"/>=3B=
>=3B <=3B/complexType>=3B
>=3B
>=3B <=3Bcom= plexType name=3D"Key">=3B
>=3B <=3BsimpleContent>=3B
&= gt=3B <=3Bextension base=3D"string">=3B
>=3B = <=3Battribute name=3D"type" type=3D"string"/>=3B
>=3B = <=3B/extension>=3B
>=3B <=3B/simpleContent>=3B
&= gt=3B <=3B/complexType>=3B
>=3B
>=3B <=3Bcompl= exType name=3D"Metric">=3B
>=3B <=3BsimpleContent>=3B
= >=3B <=3Bextension base=3D"string">=3B
>=3B = <=3Battribute name=3D"type" type=3D"string" />=3B
>=3B = <=3Battribute name=3D"date" type=3D"dateTime" use=3D"optional" = />=3B
>=3B <=3B/extension>=3B
>=3B <=3B= /simpleContent>=3B
>=3B <=3B/complexType>=3B
>=3B =
>=3B
>=3B <=3B/schema>=3B
>=3B <=3B/types>=3B=
>=3B
>=3B
>=3B
>=3B
>=3B Eran Chinthaka-3 wro= te:
>=3B >=3B
>=3B >=3B Can you share the types section of y= our WSDL file?
>=3B >=3B
>=3B >=3B On Wed=2C Aug 20=2C 2008 = at 1:42 AM=2C Andrew Zielinski <=3Bandrew.zielinski.is@
>=3B >=3B = gmail.com>=3B wrote:
>=3B >=3B
>=3B >=3B>=3B
>=3B &= gt=3B>=3B Hi=2C
>=3B >=3B>=3B
>=3B >=3B>=3B Like many u= sers I was having issues with 'unexpected element'. With the
>=3B >= =3B>=3B help
>=3B >=3B>=3B of TCPMon I was able to resolve the i= ssue. Instead of the soap request
>=3B >=3B>=3B being
>=3B &g= t=3B>=3B formed like this:
>=3B >=3B>=3B
>=3B >=3B>=3B = <=3B?xml version=3D'1.0' encoding=3D'UTF-8'?>=3B
>=3B >=3B>=3B= <=3Bsoapenv:Envelope
>=3B >=3B>=3B xmlns:soapenv=3D"http://sche= mas.xmlsoap.org/soap/envelope/
>=3B >=3B>=3B ">=3B
>=3B >= =3B>=3B <=3Bsoapenv:Body>=3B
>=3B >=3B>=3B <=3BSummaryRequ= est xmlns=3D"http://online.nielsen.com/ca/api/">=3B
>=3B >=3B>= =3B <=3BaccountId>=3B55<=3B/accountId>=3B
>=3B >=3B>=3B &l= t=3BdateRange type=3D"to_end_date">=3B
>=3B >=3B>=3B <=3Bstart= >=3B2008-11-01T00:00:00.000+10:00<=3B/start>=3B
>=3B >=3B>= =3B <=3Bend>=3B2008-11-01T00:00:00.000+10:00<=3B/end>=3B
>=3B = >=3B>=3B <=3B/dateRange>=3B
>=3B >=3B>=3B <=3B/SummaryRe= quest>=3B
>=3B >=3B>=3B <=3B/soapenv:Body>=3B
>=3B >= =3B>=3B <=3B/soapenv:Envelope>=3B
>=3B >=3B>=3B
>=3B &g= t=3B>=3B I would need to specify the namespace and prefix in soapenv:Enve= lope like
>=3B >=3B>=3B this:
>=3B >=3B>=3B
>=3B >= =3B>=3B <=3B?xml version=3D'1.0' encoding=3D'UTF-8'?>=3B
>=3B &g= t=3B>=3B <=3Bsoapenv:Envelope
>=3B >=3B>=3B xmlns:soapenv=3D"h= ttp://schemas.xmlsoap.org/soap/envelope/
>=3B >=3B>=3B "
>=3B= >=3B>=3B xmlns:q0=3D"http://online.nielsen.com/ca/api/">=3B
>= =3B >=3B>=3B <=3Bsoapenv:Body>=3B
>=3B >=3B>=3B <=3Bq0:S= ummaryRequest>=3B
>=3B >=3B>=3B <=3BaccountId>=3B55<=3B/ac= countId>=3B
>=3B >=3B>=3B <=3BdateRange type=3D"to_end_date"&g= t=3B
>=3B >=3B>=3B <=3Bstart>=3B2008-11-01T00:00:00.000+10:00&= lt=3B/start>=3B
>=3B >=3B>=3B <=3Bend>=3B2008-11-01T00:00:00= .000+10:00<=3B/end>=3B
>=3B >=3B>=3B <=3B/dateRange>=3B>=3B >=3B>=3B <=3B/q0:SummaryRequest>=3B
>=3B >=3B>=3B = <=3B/soapenv:Body>=3B
>=3B >=3B>=3B <=3B/soapenv:Envelope>= =3B
>=3B >=3B>=3B
>=3B >=3B>=3B My question is=2C is ther= e anyway to modify the stub request so it is like
>=3B >=3B>=3B th= e
>=3B >=3B>=3B second example or is there anything that I would I= have to do to my WSDL
>=3B >=3B>=3B for
>=3B >=3B>=3B th= e first request to be valid.
>=3B >=3B>=3B
>=3B >=3B>=3B = Cheers=2C
>=3B >=3B>=3B
>=3B >=3B>=3B Andrew
>=3B &g= t=3B>=3B
>=3B >=3B>=3B
>=3B >=3B>=3B --
>=3B >= =3B>=3B View this message in context:
>=3B >=3B>=3B http://www.n= abble.com/Identified-AXIS2-Unexpected-Element-issue-but-how-do-I-get-this-t= o-work-with-stubs-tp19063214p19063214.html
>=3B >=3B>=3B Sent from= the Axis - User mailing list archive at Nabble.com.
>=3B >=3B>=3B=
>=3B >=3B>=3B
>=3B >=3B>=3B ----------------------------= -----------------------------------------
>=3B >=3B>=3B To unsubsc= ribe=2C e-mail: axis-user-unsubscribe@ws.apache.org
>=3B >=3B>=3B = For additional commands=2C e-mail: axis-user-help@ws.apache.org
>=3B &= gt=3B>=3B
>=3B >=3B>=3B
>=3B >=3B
>=3B >=3B
&= gt=3B >=3B --
>=3B >=3B With Mettha=2C
>=3B >=3B Eran Chin= thaka
>=3B >=3B
>=3B >=3B ----------------------------------= ----------------------------------
>=3B >=3B Health is the greatest = gift=3B contentment is the greatest wealth=3B trusting
>=3B >=3B is<= br>>=3B >=3B the best relationship=3B nirvana is the highest joy. - Dha= mmapada
>=3B >=3B
>=3B >=3B
>=3B
>=3B --
>= =3B View this message in context: http://www.nabble.com/Identified-AXIS2-Un= expected-Element-issue-but-how-do-I-get-this-to-work-with-stubs-tp19063214p= 19098976.html
>=3B Sent from the Axis - User mailing list archive at N= abble.com.
>=3B
>=3B
>=3B --------------------------------= -------------------------------------
>=3B To unsubscribe=2C e-mail: a= xis-user-unsubscribe@ws.apache.org
>=3B For additional commands=2C e-m= ail: axis-user-help@ws.apache.org
>=3B


Be the filmmake= r you always wanted to be=97learn how to burn a DVD with Windows=AE. Make= your smash hit = --_fbdc0f39-6d90-4ded-a39f-1511e5f9b319_--