web-services

Can we use OpenSSl.X509.X509Certificate object to sign our proxy SOAP object and send it to Java web service, if so how

Can we use OpenSSl.X509.X509Certificate object to sign our proxy SOAP object and send it to Java web service, if so how ...

WCF - Wsdl.exe generated class - Service timeout

Hi All, I've created a WCF service project. Using the standard generated example service the project generates I create a wrapper class using wsdl.exe. However the service times out when I use the following code: Service1 svc = new Service1(); svc.UseDefaultCredentials = true; svc.Url = "http://localhost:16218/...

How to automatically start a C# WebService?

Hi, I have written a C# WebService. The problem is that after I publish it to IIS it won't automatically start unless any of its methods is called. This is very frustrating because this WebService has to continuously do some background work immediately after it starts (its constructor executes). If IIS is restarted, the WebService will ...

Webservice proxy class generation

I include the below xsd file: <?xml version="1.0" encoding="utf-8"?> <xs:schema xmlns="http://www.xxxx.com/schemas/2005/06/messages" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.xxxx.com/schemas/2005/06/messages" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt; <xs:include schemaLocation...

Why does 'localhost' in web references cause SocketExceptions?

I have two .net web services deployed to the same IIS server using SSL, one that references the other. If I set that web reference to 'localhost', some calls fail with this exception: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Net.WebException: Unable to connect to the remote server ...

Multiple webservices in 1 ear/ejb project

We have a ejb project (which is in an ear) that shares quite a bit of code between 2 webservices. The classes that the webservices expose are in different packages but they have different names. For example Web service1 com.d.trunk.Response WS1.process( com.d.trunk.Input ); Web service2 com.d.fwd.Response WS2.process( com.d.fwd.Input...

WSIT, Maven, and wsimport -- Can They Work Together?

Hi all, I'm working on a small-ish multi-module project in Maven. We've separated the UI from the database layer using Web Services, and thanks to the jaxws-maven-plugin, the creation of the WSDL and WS client are more or less handled for us. (The plugin is essentially a wrapper around wsgen and wsimport.) So far so good. The problem ...

Sending a file over web service from java to .net

Hello, I have built .NET 1.1 Web Service which should accept files and save them. Here is the code of the webmethod: [WebMethod] public bool SaveDocument(Byte[] docbinaryarray, string docname) { string dirPath = @"C:\Temp\WSTEST\"; if(!Directory.Exists(dirPath)) { Directory.CreateDirectory(dirPath); } strin...

Asp.Net Ajax WebService and Internal Error 500

I can call the webservie directly to the browser with the following URL and it returns be all what I want : http://localhost:64438/MySearchAutoComplete.asmx/GetCompletionList When I add it to an autocompleteexetender into the Default.aspx page like that : <cc1:AutoCompleteExtender ID="AutoCompleteExtender1" Target...

What are good educational resources for setting up .Net Webservice on a DMZ connecting to SQL Server?

We are going to begin implementing a web service that will be hosted on a DMZ server. This web server will post data to a SQL server and we're trying to determine the best methodology to handle this. Things that concern us are web service authentication, SOAP, and whether or not to store the database on the DMZ or the local network. This...

how to secure web api for clients who distribute their application to unknown/unverified users?

How can I secure an webservice so my clients can use it on their applications without having to fear that their api keys will be used in other applications? ...

Is there an extensible SQL like query language that is safe for exposing via a public API?

I want to expose some spatial (and a few non-spatial) datasets via a public API. The backend store will either be PostgreSQL/PostGIS, sqlite/spatialite, or CouchDB/GeoCouch. My goal is to find a some, preferably standard, way to allow people to make complex spatial queries against the data. I would like it to be a simple GET based re...

Dynamicl invoking web services, what is the argument in the method call.addParameter("String_1", QNAME_TYPE_STRING, ParameterMode.IN);

call.addParameter("String_1", QNAME_TYPE_STRING,ParameterMode.IN); I want to invoke web service and I'm lost in the request/response thing. I have WSDL and I wonder how I can put the requested arguments and read the response. What does "String_1" means? its name of what? Please help me, Thank you in advance ...

How do I make my java webservice client fetch and parse WSDL upon execution?

I've created java webservices and clients using Netbeans. However, the clients seem to have the WSDL already 'built-in'. Is there an easy way of making my client fetch and parse the WSDL code upon execution, so that if the webservice moves to another server, the client is just invoked with a different commandline argument for where to ...

How to start to make dynamic invoker?

I want to make dynamic web service invoker based only on the wsdl. I want to make almost same thing like this. http://www.soapclient.com/soaptest.html Any idea? ...

how to manually deploy a web service on tomcat 6?

I'm learning how to develop soap web services with java. So far now I've been following this excelente tutorial http://java.sun.com/developer/technicalArticles/J2SE/jax_ws_2/ it all goes well, I have my web service working from the command line with it's embeded server, and then, with the help of netbeans I deployed it on tomcat. I'd...

difference between soap web service and webservice

i saw that in asp.net .asmx file, we create webservices [webmethod] //method definition here now for soap webservice [webmethod] [SoapHeader(some parameters here)] //method defination here my question is what's the difference between both webservices type and how to choose which service type to choose ...

Extending spring based app

I have a spring-based Web Service. I now want to build a sort of plugin for it that extends it with beans. What I have now in web.xml is: <context-param> <param-name>contextConfigLocation</param-name> <param-value>/WEB-INF/classes/*-configuration.xml</param-value> </context-param> My core app has main-configuration.xml which decla...

WCF Maximum Read Depth Exception

I get the following exception when trying to pass a DTO over WCF services. System.Xml.XmlException: The maximum read depth (32) has been exceeded because XML data being read has more levels of nesting than is allowed by the quota. This quota may be increased by changing the MaxDepth property on the XmlDictionaryReaderQuotas object used ...

Axis/SOAP service styles and interoperability

There are four "styles" of service in Axis. RPC services use the SOAP RPC conventions, and also the SOAP "section 5" encoding. Document services do not use any encoding (so in particular, you won't see multiref object serialization or SOAP-style arrays on the wire) but DO still do XML<->Java databinding. Wrapped serv...