Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Consuming External WSD (WebReference), Missing a few types

Thread Tools

Consuming External WSD (WebReference), Missing a few types

Will Gillen
Posts: n/a
I have a new VB.NET project, and I am trying to add a web reference to
the following WSDL:

The web reference is installed in the project, but I notice that
several Types are missing. Most are there, but a few that use
<xsdattern...> are missing.
Example, this type is in the WSDL, but missing from the generated
wrapper in my VB.NET project:

<xsd:simpleType name="listLatLonType">
<xsd:restriction base='xsd:string'>
<xsdattern value="[\-]?\d{1,2}\.\d+,[\-]?\d{1,3}\.\d+( [\-]?
\d{1,2}\.\d+,[\-]?\d{1,3}\.\d+)*" />

Any ideas why?

I can run methods whose responses should be returning data in the form
of "listLatLonType", but since I have no matching type in my project,
I can only see the return values as type String (which is in SOAP

How can I over come this problem without having to write an xml


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
Types missing from "types"module John Nagle Python 6 06-24-2010 10:32 PM
Internet connects for a few seconds then disconnects for a few sec Cody Wireless Networking 2 06-28-2009 08:24 PM
Consuming PageMethods from the external client Michael Nemtsev ASP .Net 0 08-01-2007 04:39 PM
To delete few lines and add few lines at the end of a text file using c program Murali C++ 2 03-09-2006 04:45 PM
missing types in module types? Manlio Perillo Python 0 05-29-2004 06:33 AM