web-services

HTTP client - HTTP 405 error "Method not allowed". I send a HTTP Post but for some reason HTTP Get is sent.

Hey I am using the apache library. I have created a class which sends a post request to a servlet. I have set up the parameters for the client and i have created a HTTP post object to be sent but for some reason when i excute the request i get a reposnse that says the get method is not supported(which is true cause i have only made a d...

Axis2 webservice (aar archive) properties file

Hi there, guys. I'm currently developing a set of SOAP webservices over Axis2, deployed over a clustered WebLogic 10.3.2 environment. My webservices use some user settings that I want to be editable without the need for recompiling and regenerating the AAR archive. With this in mind, I chose to put them into a properties file that is l...

How to parse WSDL in Java?

Hi everybody, I need parser for WSDL to get the messages, portTypes, operations, bindings, services,... I hope some parser already exists. So, any guidlines? ...

Move namespace declaration from payload to envelope on an axis created web service

I just created a web service client using axis and eclipse that does not work with my web service provider. The message created by the web service client looks like this: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ...

Web service request ignores basic WSDL XML element restrictions

Hi all, I have encountered some difficulties while trying to validate an incoming soap message to a service I have running on JBoss AS (v. 5.1.0). In my code, I have explicitly set some fields to be required, eg: public class MyClass { @XmlElement(required=true, nillable=false) private List<myOtherObjects> myList; } This req...

Searching a key word with java client programme from wsdl

Heyy I have a problem I generated a client programme using http://api.search.live.net/search.wsdl this service for searching a key words.. I generated client by help of Eclipse-web project from this service. I have done searched on this service(live.net) but ı can't show on the console. How ı can do that? public static void main(String...

Generate java classes from WSDL through java program

I used wsimport command line tool for creating classses but I want to do it from the java code. Any idea? ...

Has glassfish 2.1.1 a bug handling http request and handle them twice?

I'm using glassfish 2.1.1. I've watched a mysterious http/webservice-call handling. It seams an http request is handled by two different threads. After http basic authentication the first thread is faster. Persisting some data end, but writing response fails in glassfish internal. The second thread fails, because it tries to persist id...

InvalidOperationException when using soap client

I've added as wsdl file using the add servece reference dialog in vs2008. MyService serviceproxy = new MyService(); When I instantiate the service proxy, I get an InvalidOperationException with the following text (translated from german): Could not find default endpoint element to the contract "ServiceName.ServiceInterface" in...

Can't generate valid web. referense

Hi 2 all, I set up Open-xchage(wrote on Java) on openSUSE and installed SOAP extension on it. Then i tried to generate web referense in vs2008, but it doesn't work. Can I generate WebReferense of Java-based service and use it in .net/c# ? Any ideas. Thanks. ...

Is WebService the next Big thing?

I was today trying to figure out on working with WebService and found many articles really gospel over the Web Service and its effectiveness in the Market share. My Questions are: For a Complex project of critical data, is it better to opt for WebService? What Makes WebService different from other way of fetching the data? ...

FatWire ContentServer and Web Services

Greetings, I am working with a FatWire CS, and need to incorporate Web services. FatWire has tags for this, but the previous devs on this system chose to build a homegrown solution rather than use what FatWire offered. The big problem now is that the homegrown solutions don't get updated (and typically stop working) when we upgrade FatW...

Is there any JAX-WS implementation that support dynamic namespace in generated client ?

I generated a JAX-WS client (proxy API) using JAXWS-RI wsimport.bat from a WSDL having as namespace "http://a.mydomain". I'd like to reuse the same generated proxy against a service having as namespace "http://b.mydomain" but targetnamespace "http://a.mydomain" is harcoded all over the generated classes. Does anybody know any good solu...

System.Net.WebProxy in .NET Client

I don't yet have a good understanding of how the network is set up at my current client, but here is my issue. The vendor has a normal URL, but it might be a leased line. I have a .NET program that calls an external .asmx service. If I go to IE, Connections, LAN Settings, and uncheck "Automatic detect settings" and uncheck "Use Autom...

Developing Mobile App (Iphone,Blackberry,Android) for an existing website

Hey Guys I have a website and am planning to develop a mobile version of it for the iphone, blackberry and android. My website is a social network built on PHP Zend framework. Now all these mobile apps are going to be having the same functionality like the website. I am little ignorant about this - but from a high level I understand t...

Web service performance testing plan, Microsoft .NET WS, SQL

Trying to answer a question to come up with a testing plan. It has to do with using a website and/or webservice that queries a sql server to get data and display to user. * Solution must be able to handle an estimated 2000 users, approximately 700 concurrent users, 10,000 + website hits a month. Database calls should handle ...

If WCF is the future why do searches for "web services" still point to ASMX?

I am needing to create a web service, so the first thing I did of course was go to google If you look in those results, you'll see nothing but things about ASMX, which apparently is dubbed legacy technology to be replaced by WCF. Why is it that ASMX is still so vastly popular compared to WCF? (of course, on SO WCF is way more popular.. ...

How can I disable keep-alive on ASP.NET Web Service client requests?

I have a few web servers behind an Amazon EC2 load balancer. I'm using TCP balancing on port 80 (rather than HTTP balancing). I have a client polling a Web Service (running on all web servers) for new items every few seconds. However, the client seems to stay connected to one server and polls that same server each time. I've tried usin...

@webservice inheritance java

I am trying to build a java ee webservice that has a common base class, but the child classes are the actual @webservice classes (and expose the parent class methods as @webmethod's) Like this: public abstract class Parent { @WebMethod public void doSomething(){//...does stuff} } @WebService public class Child extends Parent {} I'...

How can I access an ASP.Net 2.0 web service using VB Script?

I'm trying to find a way to access a web service from a VB Script .vbs file running under wscript.exe. I pulled some sample code from Microsoft and modified it to use the SOAP 3.0 toolkit but it gives me an error. Dim SOAPClient Set SOAPClient = createobject("MSSOAP.SOAPClient30") SOAPClient.mssoapinit("https://www.domain.com/Folder/Se...