Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > wsdl qname

Thread Tools

wsdl qname

Mike Gaab
Posts: n/a
I can't seem to get the parameter correct for retrieving
a Message from a Definition.

Here is a snippet from the wsdl file.

<?xml version="1.0" encoding="UTF-8"?>
<definitions name="HelloService"
<message name="SayHelloRequest">
<part name="body" element="tns:SayHello_"/>

Here is a snippet from the code:

Parser p = new Parser();"awsdl filename");
Definition d = p.getCurrentDefinition();
String qnStr =
//I have also tried just "SayHelloRequest", still a null is output.
QName qn = new QName(qnStr);
Message m = def.getMessage(qn);


After executing the above I get a null as output.

Thanks, Mike

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==---- The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
webservices, wsdl & xsd (schema-2-wsdl) Dark Java 1 11-14-2008 07:58 PM
WSDL file produces useless class when imported with WSDL.exe RH ASP .Net Web Services 1 05-27-2004 09:40 PM
Determining QName from a URIref in RDFS John L. Clark XML 0 01-22-2004 08:02 PM
is the w3c's schema for wsdl and wsdl/soap binding possibly buggy ? _clb_ Chris Bedford XML 0 08-20-2003 11:52 PM
WSDL.EXE: WSDL Import Directive Stephen Edgecombe ASP .Net Web Services 0 08-13-2003 06:38 AM