web-services

Web Method accepting huge xml string

Hello, I have a web service with just 1 Web method which will accept xml as string. This web method is a function which will loop through data received and insert into sql server database in relevant tables. When I try to consume this webservice which is on my machine from another vb.net application if the XMLstring is too huge I am g...

What was the book that you found most useful when learning WSDL?

I have worked with SOAP in SAAJ and JAXM, and I want to extend on that, and throw in some WSDL and UDDI. What was, for you, the most useful book or article when you learned WSDL? What tools came in handy when trying to create and run some examples? Thank you. ...

Problems calling a web service from another web service with netbeans and jax-ws

I want to expose a web service on one node that defers onto the same web service contract on another node, basically then, proxy the web service, both nodes running glassfish. I am using netbeans and jax-ws and I cannot get it to work. I generate the web service server part and the web service client part and use the same dto's. So the ...

SOAP Request fails with "Invalid service URL" error

Hi, My BlackBerry application consumes axis2 web services. SOAP POST HTTP request constantly fails with this error "Invalid service URL". I launch my app in 8800 simulator with ";deviceside=false" option specified. MDS is running. I can't test my app on real device for now. Any help? ...

.Net CMS with API to expose content

I am looking for a .Net CMS that allows me to expose pages/articles that are created in the CMS to other applications without querying the CMS database. Preferably this would be done through an API and by exposing them through a custom secured webservice. I know Sitefinity can do this. Do you know if Umbraco DotNetNuke can do th...

C# How to initialize WebService.

Is there a possibility to initialize a WebService. I'm searching for a method that runs only during first call to WebService. Is there something like it in .Net ? ...

PHP 5 SOAP client returns NULL when WSDL-provided function is called

Hi all, I am trying to use a webservice to look for specific users from my PHP application. I have used that exact same webservice in ASP.NET with success. Basically, I do everything like the PHP doc tells me to, and I use the same methods/variables I used in ASP.NET (for the webservice itself), but I can't seem to get a result. The f...

CloudFront - How to upload images

I have 3 questions related to Amazon CloudFront. How do I upload images? Can I use FTP? Does Amazon allow me to rsynch a local directory to CloudFront so that I have a replica directory and hierarchy on CloudFront? Thanks in advance ...

Linq IQueryable variables

Hi i have a function that should return me a string but what is is doing is bringing me back the sql expression that i am using on the database what have i done wrong public static IQueryable XMLtoProcess(string strConnection) { Datalayer.HameserveDataContext db = new HameserveDataContext(strConnection); var xml = ...

How do I pass reference types between webservices?

I'm having a bit of difficulty passing a reference type between webservices. My set up is as follows. I have a console application that references two web-services: WebServiceOne WebServiceTwo WebServiceOne declares the details of a class I am using in my console application...let's call it MyClass. My console application calls We...

WSE 2.0 SoapHttpRouter: Is it possible to route soap messages with already attached client certificate?

hi folks, the title says it all.. will the client certificate be preserved after routing the call via an SoapHttpRouter? if not, how to route a message with already attached clientcertificate or: how to reattach an certificate at the side of soaphttprouter again? (not the best solution.. :-( ) thanks and regards! ...

How can I call an async method of a webservice that returns void?

The webservice that I am calling from my application has two methods. XmlNode getCase(string parameter) // synchronous void getCaseAsync(string parameter) //async I can simply call method 1 and store the results in an xmlnode like this, XmlNode node=webservice.getCase("test"); but I can not figure out how to get the result back f...

CXF autogenerated wsdl

Hi I am developing webservices usin CXF-WS 2.2.1. I had developed and tested the services earlier but now the generated wsdl is different from the earlier one here is the old one <?xml version="1.0" ?> - <wsdl:definitions name="ICodeTableServiceService" targetNamespace="http://codetable.service.esps.cvs.com/" xmlns:ns1="http://cxf.apa...

problem with axis client stub timeout

Hi, I am writing an application which uses web services to connect a remote server.I have written a method to ping function to determine if the server is online or not(i.e. its providing the web services which can be accessed using host:port).I am executing a simple web service with a 2 sec timeout(available as an option in stub class b...

How to tell when a web service client did not successfully receive payload

I need to know if a client of my web service has successfully received a message. If the client does not receive the message (network goes down for the client in the middle of the call), I want to rollback my changes, so the next call they make will give them the same data that they attempted to get the first time. Each call to the web...

JAX-WS: [java] java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)

Hi, I have a client service utilizing wsdls and xsd's to talk to a service. Problem is when I try to compile and convert java to wsdl I keep on getting this error: "[java] java.io.IOException: WSDL2Java emitter timed out (this often means the WSDL at the specified URL is inaccessible)" After some googling I found out that this is a kno...

API Design: How should distinct classes of errors be handled from an asynchronous XMLHTTP call?

I have a legacy VB6 application that needs to make asynchronous calls to a web service. The web service provides a search method allows end-users to query a central database and view the results from within the application. I'm using the MSXML2.XMLHTTP to make the requests, and have written a SearchWebService class that encapsulates the ...

How do I start VisualVM with the JMXWS WS Connector (JSR-262)?

I have an Java application running in JBoss in which I have enabled JMX remote monitoring. This allows me to connect with tools such as jconsole and visualvm to monitor memory usage, cpu utilization, mbeans, and more. The server on which my application is running has restrictive port access though, which is why I am using the JSR-262 JMX...

credentialcache.defaultcredentials returning wrong user credentials.

Hi, I have a ASP.NET Website (.NET 2 IIS 5.1) running on machine A with Integrated Windows Authentication enabled. It has a user Automation. When I connect to it from machine B with user 'Ganesh', I am prompted to enter username & password (by IE itself). CASE 1: If I DONT save the credentials using remember my password option: I get c...

How do I test webservices?

I am a novice in web services. I am totally new to testing web services. A new project demands that I test the web services, and the customer is in favor of any open source tool. What is the approach to testing web services? Also Please suggest a tool(with minimal scripting) to test web services? ...