web-services

What is the best way to develop an asp.net Webservice which will have methods that return list, individual objects or other complex datatypes

We are using .Net 2.0 to create webservices. We would like to design webservices in ASP.Net 2.0. Currently the webservices we have return either a single parameter like <s:element name="ChangePassword"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="userName" type="s:string" /> <s:...

Escaping double quotes and the Web

I am trying to get the following sent in an xml. <Request xmlns="http://abc.org/1.1/Listener.wsdl"&gt;&amp;lt;serverstatusinquiry xmlns="http://abc.org/messages"/&amp;gt;&lt;/Request&gt; The problem I am facing is the text part of the Request node. I am printing the text as follows. "<serverstatusinquiry xmlns=\"http://abc.org/messag...

CookieContainer and WebServices

I have WebService: public class Service1:WebService { private readonly MNConnection _conn; private MNLpu _lpu; public Service1() { _conn = new MNConnection(); } [WebMethod(EnableSession = true)] public void Open(string login, string password) { _conn.Open(...

Building a webservice with XML?

XML Webservice: the webservices takes in an XML request and responses with a XML response. im not sure if im doing the right thing for the request? With the XML request, do i take the XML request from the page input parameter? Example http://api.domain.com/webservice/xmlExample1.aspx?xml=&lt;Example1&gt;&lt;FirstName&gt;David&lt;/Fir...

How to see who consumes my webservice

Is there any way to see who consumes my web service and how he uses it? Is there a logging system for that? My consumer is not sure whether he is connected to my web service or not, and I cannot see that either. ...

Axis2 Client exception: java.lang.IllegalArgumentException: Null OutputStream specified

Hi, I am using Axis2 to write a Client for a Webservice hosted on a remote server: public static void getUserProfile( final VSIUserServiceDetailsWebService_v5R0Stub stub) { try { final GetUserProfileByVOLNameDocument reqDoc = GetUserProfileByVOLNameDocument.Factory.newInstance(); final GetUse...

Webservices with Maven, Spring and Hibernate

I am developing an application using Hibernate, Spring and JaxWS. I was using JaxWS 2.1 and everything was running smoothly .. I need to upgrade to JaxWS 2.2 so I could use the @XmlElement annotation to require a parameter @XmlElement(required=true) .. So I updated my pom file <!-- <dependency> <groupId>com.sun.xml.ws</g...

Are there any default Lotus Domino web services?

Hi, We're looking into developing an application that can read from and write to Lotus Domino, specifically adding, updating, removing appointments. We've done the same thing for Exchange and GroupWise. We don't have experience with developing for Lotus Domino yet, but we've been looking at documentation from IBM and other results from...

VB.NET web service client accessing Java web service - connection aborted

I had a problem getting a VB.NET web service client to receive the response object from a Java web service. In the process of posting this question someone from another department volunteered some code written for a similar situation. I couldn't find this anywhere on the net so I'm completing my question to help others out. Dim myServ...

WCF calling webservice taking a long time

I have a wcf service (WCF_A ) which calls another wcf service (WCF_B) (currently I am hosting the WCF_B on my local machine with my credentials – as windows service), WCF_B internally makes a call to a webservice (WS01) that is hosted on the IIS. I have created a test client and call the WCF_A -> WCF_B -> WS01. Just before making the cal...

Calling an Apache Axis 1 web service from Apache CXF

Hi, I'm trying to call an Apache Axis 1 web service from a client using CXF but coming across this issue: http://stackoverflow.com/questions/412772/java-rpc-encoded-wsdls-are-not-supported-in-jaxws-2-0 Now although switching the client would solve this problem my client is running inside Osgi and axis1 doesn't play nice. My idea was ...

Is there a Javascript library to parse and pretty print .NET exceptions returned as JSON?

If I'm making a call to an ASMX web service and an exception occurs, the web service will return something like this: {"Message":"Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).","StackTrace":" at System.Guid.TryParseGuidWithNoStyle(String guidString, GuidResult& result)\r\n at System.Guid.TryPars...

org.jboss.ws.WSException: Target endpoint address not set

This is my first attempt at a simple web service, running in JBoss 4.3. I wrote a simple service that greets a user. I used wsdl2java to generate a client for it. Then I packaged the generated client in a war, along with a jsp page using the following code to access the client: HelloService service = new HelloService(); Hello client = ...

Web Search API with comercial license?

I was wondering if anyone knows of a Web Search API service that offers commercial licenses. I'm looking for something like Yahoo Search API but one that does not limit you for 5000 daily calls per IP and allows commercial use. I guess this would be a paid service. Thanks ...

PHP webservice SOAPClient error

Hello, I have a webserivce and just doing simple thing to call webservice in SOAP Client i.e. $client = new SoapClient("http://test.unistream.com/wcflib/service.svc?WSDL"); It says SOAP-ERROR: Parsing WSDL: 'IWebService_GetCountries_InputMessage' already defined web service is http://test.unistream.com/wcflib/service.svc?WSDL ...

With CXF (actually GroovyWS), how do I generate a SOAP header with one child node having a text node?

I'm creating a Groovy client for a .net SOAP service that requires a soap header that looks like this: <soap:Header> <HeaderInfo xmlns="http://foo.bar.com/ns"&gt; <token>abc-unique-token</token> </HeaderInfo> </soap:Header> I found the faq for adding headers to CXF messages and it gets me almost there, but not quite. ...

KSoap2 or RESTful web services with android

Hi! What is the best way to deal with web services in Android? I have been looking at KSoap2 library and RESTful web services. I got one working with KSoap2, but only when the web service is on a remote server, not on localhost. I have tried to redirect the ports for incoming and outgoing as it says on the android dev site, i have use...

Detect malicious URL destination?

Is there an online service that can tell me if the file at a given URL is malicious? I'm publishing URLs in my website, and would like to warn users which URLs could contain malware. I'd like to request a report with an HTTP request like: http://www.somemalwareadvisor.com/canitrust?url=... Thanks! ...

Which online merchant facility supports peer-to-peer payments and multiple payments?

I need a merchant facility that allows _credit card_ to _bank account_ payments ..or at least a means of processing to another person's bank accountmultiple payment destinations within the one credit card payment I've looked at PayPal and my general opinion is it's fubar (multiple different payment technologies with little differenti...

Reporting Services 2008: "HTTP status 401: Unauthorized" Issue

I'm getting the error "The request failed with HTTP status 401: Unauthorized" whenever I try to list the reports on my reporting server. The weird thing is, it works when I run the asp.net application on my dev machine hitting the server reporting services web service url (http://www.example.com/reports/reportservice2005.asmx?wsdl) but w...