473,396 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

My First Web Service Invocation

1
Hi,
I am trying to invoke my first Web Service but kept getting the same error msg: "failed attempting to read SOAP response from service. This is probably due to a communication error"

This is the WS description:
Expand|Select|Wrap|Line Numbers
  1.  
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <definitions name="HelloService"
  4.     targetNamespace="http://dl.dropbox.com/u/2920864/HelloService.wsdl"
  5.     xmlns:tns="http://dl.dropbox.com/u/2920864/HelloService.wsdl"
  6.     xmlns="http://schemas.xmlsoap.org/wsdl/"
  7.     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  8.     xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
  9.     <types/>
  10.     <message name="Hello_hello">
  11.         <part name="String_1" type="xsd:string"/>
  12.     </message>
  13.     <message name="Hello_helloResponse">
  14.         <part name="result" type="xsd:string"/>
  15.     </message>
  16.     <portType name="Hello">
  17.         <operation name="hello" parameterOrder="String_1">
  18.             <input message="tns:Hello_hello"/>
  19.             <output message="tns:Hello_helloResponse"/>
  20.         </operation>
  21.     </portType>
  22.     <binding name="HelloBinding" type="tns:Hello">
  23.         <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
  24.         <operation name="hello">
  25.             <soap:operation soapAction=""/>
  26.             <input>
  27.                 <soap:body use="literal" namespace="http://hello.chap12.jboss.org/"/>
  28.             </input>
  29.             <output>
  30.                 <soap:body use="literal" namespace="http://hello.chap12.jboss.org/"/>
  31.             </output>
  32.         </operation>
  33.     </binding>
  34.     <service name="HelloService">
  35.         <port name="HelloPort" binding="tns:HelloBinding">
  36.             <soap:address location="http://dl.dropbox.com/u/2920864/HelloService.wsdl"/>
  37.         </port>
  38.     </service>
  39. </definitions>
  40.  
My code is validated, analyzed, but when I get to invoking it, I keep getting this error msg:
"failed attempting to read SOAP response from service. This is probably due to a communication error"
Do you have any idea about what should I change? the binding? the fact that I am hosting it in a public folder of my dropbox?

thanks for your time!
Mar 13 '12 #1
0 1153

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Greg | last post by:
I have two classes (thus, two services) in one Windows Service executable. Each properly inherits from System.Process.ServiceBase, and I have a ServiceInstaller for each service, and one...
1
by: Ken Allen | last post by:
I am experimenting with a new facility that will replace an existing client/server environment that uses named pipes for communication. The client application uses SHBrowseForFolder standard...
5
by: Simon Tamman {Uchiha Jax} | last post by:
Wondering how difficult this will be to do. The principle being that the application will load a URL from a configuration file at runtime and then add a reference to the web service. Only having...
0
by: Roland Riess | last post by:
Hi all, maybe somebody can help me with a service installation problem in VS 2003, C#. First, I added an installer project to a solution with a program that shall run as a service. So far, so...
6
by: nickname | last post by:
I want to pass some xml to a web service method, the xml will confirm to a defined schema. Lets say the schema is defined as: <xs:schema attributeFormDefault="unqualified"...
0
by: ananth | last post by:
HI all, I there any specific methods to call an web services without using any toolkit.like soap client or msxml etc. The Problem is when i use these toolkit and i package and deploy it...
6
by: DaveOnSEN | last post by:
Every time I make any .NET framework based webservice consumer I have the same problem: The first call my application makes to consume a webservice takes about 15 seconds. Subsequent calls are...
0
by: Morgan Cheng | last post by:
I use VS auto generated code to invoke a internal network webservice. The auto-generated code use class SoapHttpClientProtocol to do Soap-on- http communication. It turns out that for single...
1
by: =?Utf-8?B?cm9zczYxMw==?= | last post by:
I'm puzzled by an error message encountered while creating a Windows Service. In particular, I'm creating a second Windows Service within a Windows Service project, using Visual Studio 2005. The...
0
by: Steve | last post by:
I am having an issue when calling a C# 2.0 .NET Web Service from ColdFusion 6. The web service returns a String, "hello world", to the caller. There are no method parameters. I have no idea what...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.