Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7846425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T17:34:38+00:00 2026-06-02T17:34:38+00:00

First time trying to use webservices. I am using VS2005 and trying to call

  • 0

First time trying to use webservices. I am using VS2005 and trying to call a webservice function.
I added my webreference to the WSDL, got my autogenerated code.

I am able to call it with no errors/exceptions but I get nothing back from the service function.
I packet sniffed the network traffic when I ran my code and saw that the webservice actually sent back the data it was supposed to, I just never recieved it in my code below

    Dim proxy As New MyServer.MyService
    Dim response As New Object()
    response = proxy.getAllThings(Nothing)

In the WSDL it says it requires Object as parameter and returns Object.
Also tried:
Dim response As New Object and
Dim response As String=””

Response is always Nothing/Null

The sniffed data shows a plaintext SOAP envelope which is what I was expecting ‘response’ to contain.

Sniffed Data sent from webservice to my computers IP address:

    Server: Apache-Coyote/1.1
    Content-Type: text/xml;charset=utf-8
    Transfer-Encoding: chunked
    Date: Mon, 23 Apr 2012 08:26:01 GMT
    321
    <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><cmp:things xmlns:cmp="http://cmp.com"><cmp:thing><cmp:id>10</cmp:id><cmp:name>ASM</cmp:name></cmp:thing><cmp:thing><cmp:id>1</cmp:id><cmp:name>CHP</cmp:name></cmp:thing><cmp:thing><cmp:id>11</cmp:id><cmp:name>UDB</cmp:name></cmp:thing><cmp:thing><cmp:id>8</cmp:id><cmp:name>GKH</cmp:name></cmp:thing><cmp:thing><cmp:id>5</cmp:id><cmp:name>GGW</cmp:name></cmp:thing><cmp:thing><cmp:id>6</cmp:id><cmp:name>LRZ</cmp:name></cmp:thing><cmp:thing><cmp:id>7</cmp:id><cmp:name>MRN</cmp:name></cmp:thing><cmp:thing><cmp:id>2</cmp:id><cmp:name>KBV</cmp:name></cmp:thing><cmp:thing><cmp:id>3</cmp:id><cmp:name>CXE</cmp:name></cmp:thing></cmp:things></soapenv:Body></soapenv:Envelope>
    0

This sniffed data never shows up in ‘response’

I used http://msdn.microsoft.com/en-us/library/aa275675%28v=sql.80%29.aspx as an example.

Any help would be greatly appreciated.

Edit: ‘response’ should contain the data from the result of the webservice call shouldnt it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T17:34:40+00:00Added an answer on June 2, 2026 at 5:34 pm

    Installed VS2010 express on a different computer and connected to the service and I got an error message. Basically the response from the service does not match the WSDL. Dont know why VS2005 didnt give me any errors.

    It is a service in production being consumed by a java client, apparently it doesnt care about the mismatch.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use paperclip for the first time. I tried using avatar for
First time trying to use JSON. Here is my checklink.php : function url_exists($url) {
this is my first time trying to use document classes in AS3 and im
I'm trying to use an event listener for the first time. All samples I've
I am trying to use the Google generated API library for the first time
First time trying to use the password protected visibility option on a Wordpress page,
I am trying to use generic for the first time and trying to typecast
I am trying to use futures for the first time. It seems smart that
I'm trying to use a QTreeView for the first time with QAbstractItemModel and instantly
I'm trying to use matlab for the first time but I'm having a problem

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.