Then there must be a new invented bug in 4.3 (as far as I can proof that here) because 
I cannot see any method declarations with "Create new SOAP request" menu entry and 
your file. Without the wsdl-prefixes in your file it works fine :-( .

Thank you for the file.

Greetings,
Till

> -----Urspr�ngliche Nachricht-----
> Von: Liu, C.C [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 16. April 2002 15:30
> An: '[EMAIL PROTECTED]'
> Betreff: RE: WSDL and XML Spy
> 
> 
> The attached testAddressBook.xml is what I got, via IE 6.0+ 
> with ?wsdl,
> from the Axis server I deployed on a Sun workstation and 
> tried it with Spy
> 4.2
> 
>       C.C. Liu
> 
> 
> 
> -----Original Message-----
> From: W�rner Till [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 16, 2002 8:40 AM
> To: [EMAIL PROTECTED]
> Subject: AW: WSDL and XML Spy
> 
> 
> Hi,
> 
> I totally agree with you that the xml Java2WSDL spits out is 
> absolutely
> legal.
> I just wanted to make my life a bit easier, cause I like to 
> test my Web
> Services with XML Spy sometimes.
> And I also think that this is a XML Spy problem, but as the 
> element prefixes
> are unnecessary (not the attribute prefixes as you mentioned, 
> but these are
> not my real problem) I thought I could supress their generation.
> I just wanted to remove the prefixes, not the namespace 
> definition, because
> wsdl is the default ns also.
> Perhaps I will ask Altova about a solution and why it works 
> with version
> 4.2...)
> 
> @C.C. Liu: Could you do me a favour and look inside your 
> wsdl-document you
> used to try with version 4.2 and confirm that all wsdl-elements are
> prefixed? I do not have 4.2 at hand...
> 
> Greetings and thanks,
> Till
> 
> > -----Urspr�ngliche Nachricht-----
> > Von: Liu, C.C [mailto:[EMAIL PROTECTED]]
> > Gesendet: Montag, 15. April 2002 20:16
> > An: '[EMAIL PROTECTED]'
> > Betreff: RE: WSDL and XML Spy
> > 
> > 
> > I just tried XML Spy 4.2, it works without error nor complain.
> > 
> >     C.C. Liu
> > 
> > 
> > -----Original Message-----
> > From: Russell Butek [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, April 15, 2002 12:17 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: WSDL and XML Spy
> > 
> > 
> > Quick answer:  no.
> > 
> > Longer answer:  the WSDL that Java2WSDL generates, while 
> > perhaps a bit odd,
> > is perfectly legal.  Sounds like XML Spy has a little failing.
> > 
> > This is probably more than you wanted to know, but I'll 
> > ramble on anyway...
> > Since we have the attribute:  xmlns:wsdl
> > ="http://schemas.xmlsoap.org/wsdl/";, WSDL4J (which Java2WSDL uses)
> > explicitly adds the prefix.  If we took out that attribute, 
> > WSDL4J would no
> > longer explicitly add the prefix and it might look like you'd 
> > be happy.
> > BUT then we have another problem.  Sometimes the wsdl prefix 
> > is used in
> > places like:  wsdl:arrayType="XXX".  In these cases the WSDL 
> > file MUST have
> > the namespace attribute, in which case WSDL4J would add the 
> prefix, so
> > you'd still be broken with those cases anyway (unless we 
> > could get WSDL4J
> > to change, which is unlikely).
> > 
> > Russell Butek
> > [EMAIL PROTECTED]
> > 
> > 
> > "Till Woerner" <[EMAIL PROTECTED]> on 04/15/2002 10:22:48 AM
> > 
> > Please respond to [EMAIL PROTECTED]
> > 
> > To:    <[EMAIL PROTECTED]>
> > cc:
> > Subject:    WSDL and XML Spy
> > 
> > 
> > 
> > Hi,
> > 
> > When I open a WSDL-file generated with Java2WSDL with the 
> SOAP tool in
> > XML Spy it cannot find any methods to invoke.
> > I looked at my WSDL and found out that Java2WSDL generates 
> > wdsl-prefixes
> > for all elements associated with namespace
> > "http://schemas.xmlsoap.org/wsdl/";. When I delete those prefixes it
> > works fine and XML Spy can see all methods (and call them).
> > 
> > Can I tell the WSDL-tool to supress those prefixes (as the
> > wsdl-namespace is declared as the default namespace anyway)???
> > 
> > Thanks,
> > Till
> > 
> > --
> > Caught in our narrowminded believe...
> > -------------------------------------
> > Till Woerner
> > Berlin, Germany
> > EMail:[EMAIL PROTECTED]
> > ICQ#: 7162410
> > 
> > 
> > 
> 
> 

Reply via email to