web-services

Documenting POST parameters with WADL

Looking at the current version of the WADL proposal, I couldn't quite figure out how to document POST request parameters (with application/x-www-form-urlencoded encoding). I've seen something like this in the wild: <resource path="/path1"> <!-- default is mediaType="application/x-www-form-urlencoded" --> <method name="POST"> ...

Exception in thread "main" org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser

I've created a stand-alone web services client in Java. I'm able to generate the WSDL properly but when when i execute my run.bat file, I get the exception above long with the exception below. I googled for the exception shown in the title and found a .jar file that contained it. I added this to my JBOSS_HOME/lib directory as well as the...

IWAB0399E Error in generating Java from WSDL: java.io.IOException: ERROR: Missing <soap:fault> element inFault

I have a WCF 4.0 service for internal use. Another team is trying to consume it in Java. IWAB0399E Error in generating Java from WSDL: java.io.IOException: ERROR: Missing <soap:fault> element inFault "PasswordReuseFaultFault" ... One source suggests it may be a Soap 1.1 vs. Soap 1.2 issue Indeed my WCF generated WSDL <wsdl:fault ...

NoSuchMethodError: com/sun/istack/logging/Logger.getLogger

I developed a webservice and deployed it to websphere 7.0 and developed a dynamic dispatch client using JAX-WS APIs which also runs on same application server. I get error at the following line: Dispatch dispatch = service.createDispatch(portName, SOAPMessage.class, Service.Mode.MESSAGE); Error: Caused by: java.lang.NoSuchMethodError: c...

ORM Against a Service-Wrapped Data Source

We are tasked with migrating an existing set of entities (currently POCOs persisted with NHibernate against an MSSQL database) to now persist to some kind of web service (yet to be built, either RESTful or SOAP-based, and that we control). I like how NHibernate encapsulates the persistence concerns and lets us maintain a logic-rich, per...

Cannot resolve IHttpHandler

For some reason when I am trying to create a class which implements IHttpHandler I cannot resolve IHttpHandler. Statements like: using System.Web; are not helping either. This is a class library project, I am following example here: http://www.15seconds.com/issue/020417.htm What am I doing wrong? ...

Webservice client in j2me from secure site

Hi, I have to create a java me web service client for wsdl of a secure site (https). When I try to do it using the conventional method of retrieving wsdl in netbeans, I get "IO Exception (Check Proxy Settings)" I have no idea what to do. Can anybody point me in the right direction?? Thanks in advance. ...

Java Client interoperating with WSE 3.0 Web Service

I have a Interoperable Security Token Service (STS) that authenticates the User and then issues a SAML token. I also have transaction services that expects the SAML token in the incoming SOAP request header. For a client to make a call to transaction service, it first needs to authenticate with the STS, get the SAML token and then make ...

How to host/upload .net webservice online (on IIS server)

Hi guys! I have created a .NET web service using C# and ASP.net I like to upload or host it online, so that I pass the URL to my friends for use. please help me with the steps of upload the web service. Thanks a lot regards Kai ...

API for Posting Photos to Panoramio

Hi! Is there any api that able to post photo on Panoramio? ...

Web service security not working. Java

Hello, I have a ejb module which contains my ejbs as well as web services. I am using Netbeans 6.8 and Glassfish V3 I right clicked on my web service and clicked "edit web service attributes" and then checked "secure service" and then selected keystore of my server. This is my sun-ejb-jar.xml file :- <?xml version="1.0" encoding="UTF-...

Getting JAX-WS client work on Weblogic 9.2 with ant

I've recently had lots of issues trying to deploy a JAX-WS web servcie client on Weblogic 9.2. It turns out there is no straightforward guide on how to achieve this, so I decided to put together this short wiki entry hoping it might be useful for others. Firstly, Weblogic 9.2 does not support web servcies using JAX-WS in general. It com...

AesManaged and RijndaelManaged

Im currently developing a Silverlight application that connects to an old webservice. Our old webservice uses an encryption tool which silverlight does not support. Finally, we decided to used AesManaged for encryption, however, our webservice does not support AesManaged. Is their a way to decrypt an AesManaged to RijndaelManaged? If y...

Blackberry and php webservice

I am creating a BlackBerry client and a PHP web service. 1) I want to send "hello world" from the BlackBerry to the php service. The service will respond with "hello world" 2) The BlackBerry will take that "hello world" from the php service and display it to the user. ...

parsing base64 string in Soap webservice in blackberry gives unknown value

i am parsing SOAP web service in which image is coming in base64 string but when i parse the node by using getnodevalue() method , result shows during debugging is unknown value. in other the same code parse the base64 string and i successfully decoded it.As i saw the image , when parsed in android and i phone it is different image than ...

How to Call JAX-WS Web Service in Iphone

Hello, How to use JAX-WS Web service in Iphone Sdk, anyone has idea then please let me know. Thank You. ...

With C# documentation tags is it possible to persist them through a webservice?

With C# documentation tags is it possible to persist them through a webservice so that the webclient that consumes the webservice will display them via the intellisense? Any information on this would be greatly appreciated. Thanks. Rick ...

Sending big file by webservice and OOM exception

Hi, I have webservice, with method: [WebMethod] public byte[] GetFile(string FName) { System.IO.FileStream fs1 = null; fs1 = System.IO.File.Open(FName, FileMode.Open, FileAccess.Read); byte[] b1 = new byte[fs1.Length]; fs1.Read(b1, 0, (int)fs1.Length); fs1.Close(); return b1; } and it works with ...

How to return xml from .net webservice

Hi Guys!! I am reading data and filling a data set and want to return xml, in a .net web service. so far I am trying to use return mydataset.getxml(); but it is not helping as my method return type is "DataSet" so is there any way I can get a well formatted xml. Thanks ...

What is the security advantage of STS in web services?

Hello, I've started reading up on security (particularly authentication) with web services and I see a lot of references to security token services. From what I see, they take a username-password (or something) and, on validation, return a digital token. How is using this token any more secure then just relying on the username-passwor...