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....
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.
...
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...
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...
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...
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...
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?
...
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!
...
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...
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...
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 ?
...
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...
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...
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...
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
...
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...
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 ...
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...
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...
Why do most (all?) websites only support usernames in ASCII? Are there any security considerations if an admin decides to start accepting Unicode usernames?
...