web-services

Message=Server did not recognize the value of HTTP Header SOAPAction: error

HI Guys, I have created a web service. And I m able to hit the web service using SOAPUI but when i try to call through my code I get this error. Any ideas? ok the web service code looks like this: [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [WebServiceBindingAttribute(Name = "SoapBinding", Namespace = "xyz")] [System....

How to show text to textArea in *.jsp?

I transfer a (*.txt)'s path by request.setAttribute("path", textpath); in servlet.java to a *.jsp. And the *.txt is in webserver address.How to show the content to textArea?Thank you. ...

Eclipse Web Service Client - Username Token Policy

I used myEclipse to generate a WebService Client for a webservice using the WSDL. The problem is that I have to add some security information, which is not present in the wsdl. I tried this: public static void main(String[] args) { // TODO Auto-generated method stub ws.EVPQuery_Service s=new EVPQuery_Service(); ws.EVPQuery e...

JAX-WS: Is it possible to define a global InstanceResolver?

I know I can use the @InstanceResolverAnnotation to define which InstanceResolver will be used by a certain service, like it is explained in this article: @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.TYPE) @Documented @InstanceResolverAnnotation(MyResolver.class) public @interface MyWs { } // Now annotate the ser...

Weird error when calling a web service from a Java SE client

I have a java SE client trying to talk to a J2EE web service. We are using Axis 1.4, so when I try to make a call I get the error below: '- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.' AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelo...

VB6 base64 Binary

Hi, I have a problem on this webservice: http://credenciados.pronto.com.br/carga.asmx?op=IncluirMultimidia2 on arrayArquivo parameter, i use this function to generate data: Private Function getBase64fromFile(Filename) As String Dim base64 As New cls64base Dim FileInputData() As Byte Open Filename For Binary As #1 FileI...

Exchange 2007 Web Service Test Connection?

I've added an outlook component to my application that requires the user to input their exchange server url, as well as a username/password to connect to the exchange web service with. Is there a way I can take the settings they enter and test the web service connection to see if it is valid? ...

Prevent jbossws/services from listing deployed services

Is there a way to prevent jbossws/services from listing services currently deployed? I thought of securing it the way jmx-console is secured, i.e. password protected, but would that mean that web service consumers would have to authenticate too? Or is it just going to password-protect the web interface? Thanks! ...

Using Endpoint.publish() in OSGi to publish web service?

Is there a way to use Endpoint.publish() in an OSGi bundle to publish a web service? When I run the code from the command line it works, but the same code in a bundle activator produces the following exceptions: Caused by: com.sun.xml.internal.ws.server.ServerRtException: [failed to localize] cannot.load.wsdl(file:/C:/ws/project/org.pro...

why does file_get_contents get nothing from the web service?

hi all, we're using file_get_contents to communicate with a web service, which creates users and if succeeds it returns a JSON object with the details of the new created user. the code below shows how we do it, the user is successfully created, meaning we can see it from the back-end, however, we just can't get the JSON response, it re...

ASP.NET auto generate web services from stored procedures

Hey guys, I have looking for a code generation tool, that could auto generate web services based on feeding a tool the stored procedure that I would like. Is there something that could achieve this for me ? ...

Build C# SOAP web service stub based on WSDL XML SOAP response

I am doing integration testing of my system with a 3rd party web service. They have provided the WSDL and the XML soap response packets but the web service hasn't been built yet. I am using WCF to call the web service. Any suggestions on how to write the end-point to send back the response contained in the XML file? I know I can gene...

silverlight 4 automatic printing ssrs reports

hi i wrote a small app in WPF based on the link below , that contacts the SSRS server, sends a report name & parameters and gets a report printed automatically on the client default printer. My clients are very keen on this one click printing idea. http://blogs.msdn.com/b/bryanke/archive/2004/02/11/71491.aspx now here is my problem: I...

performance problem with WebKit which gets 50.000 POIs via webservice

Hi, I've got a lot of POIs (compare MKAnnotation Protocol) in a backend on a webserver. I don't want to have a complete dump of all those in an iPhone database since normally you only need the POIs around your area. So my idea was a webservice which gets the actual shown region as paramters and gives back all relevant POIs. So far so goo...

Sending a json object over Flash Builder 4 webservices

Can I use the webservice wizards in Flash Builder 4 to send a json encoded object...not as a string but as type application/json; charset=UTF-8 ...

SOAP error (WSDL) in php webservice

my wsdl code- <portType name='CatalogPortType'> <operation name='getCatalogEntry'> <input message='tns:getCatalogRequest'/> <output message='tns:getCatalogResponse'/> </operation> </portType> <binding name='CatalogBinding' type='tns:CatalogPortType'> <soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http...

WSDL location changed when EJB Web Service was deployed in WAR

When I deploy my EJB Web service in a WAR file the context of the Service changes. i.e. --http://localhost:8080/ServiceName/EJBName?wsdl Now, it has the web application context-> --http://localhost:8080/WebAppName/ServiceName?wsdl Why did this change and how do I control the URL of the Web service I'm using Glassfish3/Java6 and this is ...

Calling ASP.NET 2.0 authentication service from non-web client

I am working on a .NET 2.0 winforms application that calls an ASP.NET 2.0 website. The website is authenticated using forms authentication. The authentication service is enabled in the web.config, and I have done some experiments to confirm that I can access the service via JSON. Here is my question: is there any built-in code to consum...

Getting fields from a list on Sharepoint page

I'm very new to Sharepoint, I have an aspx page on a Sharepoint site that shows a list of fields, including First Name, Last Name, etc. I'm have a console app, in Visual Studio, I'm using for testing communication and data transfer capability between between one web service and another; namely Sharepoint and another web service. My go...

Should Unicode be allowed in usernames?

Why do most (all?) websites only support usernames in ASCII? Are there any security considerations if an admin decides to start accepting Unicode usernames? ...