DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Mon, 23 Jul 2007 06:00:01 -0700,    posted on: microsoft.public.dotnet.framework.aspnet.webservices        back       

Thread Index
  1    Christian Havel


Server did not recognize the value of HTTP Header SOAPAction   
Hi,

I try with the following Java code to call a .NET Webservice method:


                String endpoint = lblURL.getText();

                Service service = new Service();

                Call call = null;
                try {
                    call = (Call)service.createCall();
                } catch (ServiceException e) {
                    e.printStackTrace();  
                }

                try {
                    call.setTargetEndpointAddress( new URL(endpoint));
                } catch (MalformedURLException e) {
                    e.printStackTrace();                  }
                call.setOperationName("Dial");

                call.addParameter("Number",
                    org.apache.axis.Constants.XSD_STRING,
                    javax.xml.rpc.ParameterMode.IN);

                try {
                    String ret = (String)call.invoke(new Object[] {"173"});
                    ret = ret;
                } catch (RemoteException e) {
                    e.printStackTrace();  
                }

By the invoke-method-call I receive a exception with the errordescription:
"Server did not recognize the value of HTTP Header SOAPAction"
What I do wrong?
Christian
Date:Mon, 23 Jul 2007 06:00:01 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us