web-services

Cannot create Java Webservice in Eclipse

Hi, I would like to create a Web Service in Eclipse. I already wrote a class and generated a WSDL file from it with Java2WSDL. I started a new "Dynamic Web Project" and added the axis2 facet to it. After that I wanted to create a new "Web Service" project. When I now select my WSDL file and click on "Finish" I get the following error: ...

XML response of webservice call in C#

I am calling a webservice in C# and am getting an array of objects back. Is there a way of getting an xml string instead? ...

Sending and receiving soap xml

I am writing a web service client in C# and do not want to create and serialize/deserialize objects, but rather send and receive raw xml. Is this possible in C#? ...

Consuming SOAP Web Services in Drupal from C# client

I want to make a client in C# in order to create Blog posts in Drupal, so the situation is the following. In Drupal i have Services module and soap_server both enabled and when i consume the wsdl file from http://example.com/services/soap?wsdl is recognizes it properly but i don't know what to do next... I'm stuck. The lack of documentat...

Is there any standard to consume a webservice inside of native C++?

I am looking for resources to show me how I can consume web services inside native C++ . Are there any popular libraries I can use? TIA Andrew ...

Problem with Oracle JPublisher

Hey guys, Has anyone had any experience with Oracle's JPublisher? I am trying to call an external Web service. I've read the Callout Utility guide however after running JPublisher like this: ./jpub -user ... -sysuser ... -proxywsdl=/home/oracle/Radius.wsdl -endpoint=http://192.168.1.15/RadiusAction.php -package=interfaces.RADIUS -plsql...

Can't create directory via asmx web service.

I am trying to create a directory and then write to it via an asmx web service. It works fine on my dev pc, but when I publish the service to the server, I keep getting access denied errors. I have gone in to IIS and made sure the service has write privileges. I also gave write access to all users, but am still getting the same error....

What Java type to use to represent a currency value in a web service?

I'm creating a web service in Java that will be consumed by an external application, probably written in C#. In my Purchase bean, I have a Currency object for the total cost. However, this leads to the following error: Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 1 counts of IllegalAnnotationExceptions java.util...

How to use WS-Security and Access UsernameToken from an ASMX Web Service?

Okay, so we have a legacy ASMX web service that is currently running in .NET 3.5 and we're using Visual Studio 2008. The problem is, we need to add authentication and would like to take advantage of the WS-Security model without breaking any existing internal clients who don't need to authenticate currently. We've thought about adding ...

Maven Webservice Plugin working with install, not deploy

Hi All, I have a maven module that uses the plugin jaxws-maven-plugin. I have the webservice up and running and when browsing to the .../myWebservice?wsdl, I get the WSDL. No problem. This also works when running the wsimport maven goal through: <plugin>   <groupId>org.codehaus.mojo</groupId>   <artifactId>jaxws-maven-plugin</artifa...

Exporting WSDL/XSD schemas for data contract types with IXmlSerializable

I'm creating a WCF service which I want to consume from a Java app. But the question isn't about .net-java interop. The key point is one of types related to a service operation is IXmlSerializable. That type return its XSD schema with static method referenced by XmlSchemaProviderAttribute. The problem is when we get wsdl for the service...

Web Service Return Type

Hi! what are the possible return types for a web service? I am using NetBeans 6.7.1 and working in Java. I want to make a web service that would return String[]... I made a class of Authorization and I want to add a function in an already made web service. the problem is that it doesnt let me make an operation of return type string. Any...

Adding WCF Service Reference To Java Application

How can I add WCF Service Reference to my Java Console Application ? I want to use this method for prove the interoperability of my wcf Service. ...

Generate SOAP requests on the fly, based on WSDL

I'd like to build a simple test harness for the various web services consumed by my application that I can run in my staging or production environment to verify that the web services are working and see what data their web methods are returning. Is there a way I can generate a SOAP request based on the WSDL provided by a web service at...

Problem in getting attributes from webservice to servlet when the return type of operation in webservice is STRING []...

I made a Webservice Operation whose return type is STRING [] Following is the code @WebMethod(operationName = "authorize") public String [] authorize(@WebParam(name = "Username") String Username) { CAuthorization CA = new CAuthorization(); String [] Result= null; try { Result = CA.CheckAuthorization(Username); ...

Perlbal Reproxy with Remote Host

why would perlbal's reproxying give me a 503 for any remote url? X-REPROXY-URL: /path/to/a/local/file.jpg = working X-REPROXy-URL: http://a-public-file-in-an-s3-bucket.jpg = HTTP 503 my perlbal conf looks like: CREATE POOL test_pool POOL test_pool ADD 127.0.0.1:8888 POOL test_pool ADD 127.0.0.1:8889 CREATE SERVICE balancer ...

Coarse-Grained WCF Services

I have 2 WCF services now and I want to construct the WCF Service which will use 2 WCF Services(trying to make coarse-grained service).But as you know for making wcf service; create wcf service library and I construct all methods ,write on WCF Service Library.And then I create New Web Site which is WCF Service and I link it to WCF Servic...

How can I run a command line process that requires AD authentication from a .NET web service?

This is almost identical to this question asked by another user, and is the sequel to a question I asked previously. Basically, my company recently bought Tidal Scheduler. We need to launch jobs ad hoc from other process, e.g.: BizTalk, .NET web apps, etc. Our plan was to wrap a .net web service around the C++ API. That is apparently go...

classes as enum (or somthing like a enum)

I'm working with a third party web service that exposes a status property on one of its classes but this property is in fact another class itself. Whilst this is no great shakes I'm trying to make use of this web service easier for other developers in the company since the web service is abstracted away and we have our own adapter class...

Setting Timeout value for Salesforce Web Service/API

The API for Salesforce is a web service, you set it up by downloading a WSDL file from Salesforce and adding the WSDL to your .NET project. But I can't find anywhere to set the Timeout value. Normally in a .NET Web Service there is a Timeout property for this (as described in this question), but I can't seem to find one in this case. ...