Tagged Questions
0
votes
2answers
22 views
How does a web reference know what address to use?
I have to make a call to a web service from inside a new C# class library project. The web service is not accessible to me yet (different geographic location and closed network until release). I do ...
1
vote
1answer
27 views
how to use soap response and get the xml values in C#
<?xml version="1.0" encoding="UTF-16"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
0
votes
1answer
11 views
How to convert getRecordTypeInfosByName in Apex to web service?
I am moving some code out of Apex to web services using the Enterprise WSDL. There is a line of code that I cannot find the equivalent to in the web service but I am hoping it is there. How would I ...
0
votes
1answer
24 views
WCF - Soap header is referencing the namespace, in the security element, twice
this is a bit of a tedious question.. I have built a WCF to use WS-Security, which looks like this in my log:
<h:Security ...
0
votes
0answers
16 views
adding argument to existing asmx WS
I have the following method in an asmx web service:
List<Expert> GetAllExperts(int FieldId)
and I would like to modify it like so:
List<Expert> GetAllExperts(int FieldId, bool? ...
1
vote
1answer
31 views
WCF duplex: calling callback outside class of WCF-service
I develop WCF-service with duplex mode and use nettcpbinding. I use .NET 4.5. I have only one client and only one server and there is a lot of logic between its. The client always the first begins ...
0
votes
0answers
20 views
Java Web Services as Clients in JAXB
I am currently coding a new Crytography application in Java, using the Eclipse IDE.
ATM, I have a Java Web client that (remotely) interfaces with a Dynamic Web Service across the internet.
However, ...
0
votes
0answers
20 views
PeopleSoft web service passing password/userID in SOAP header
I am fairly new to c#,and a first time poster and I am trying to consume a PeopleSoft webservice. I think I have a decent start on the code, except for how to pass the userID and password in the SOAP ...
0
votes
1answer
33 views
passing username and pasword to soap webservice c#
I am working on a soap webservice in c#. It look like this,
public class MyService : System.Web.Services.WebService
{
public MyService()
{
}
[WebMethod]
public string Hello()
{
return "hello";
...
0
votes
2answers
47 views
Create C# client consumes SOAP service without using built-in 'Add Service Reference…'
My company provides SOAP service over Https. I need to write a library that consumes that SOAP service using C#. I am using code generated by "Add Service Reference..." feature of Visual Studio 2008, ...
1
vote
1answer
36 views
When we need to use surrogate classes?
I am working on a E-commerce system. I use entity framework in my data layer. You can see my request-response cycle in the picture below. In my business layer, classes are page-based. I mean, business ...
0
votes
0answers
26 views
Calling the WebService using httpwebrequest
I want to call a https WebService using HttpWebRequest. I'm always getting the error "An error was discovered processing the wsse:Security header". how to add wsse:Security to soapMessage?
When i ...
0
votes
2answers
42 views
How to get SOAP return value using c#
I have a SOAP response as below
<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\">
<SOAP-ENV:Header/><SOAP-ENV:Body>
<Login ...
1
vote
1answer
82 views
method is aborted on soap call
What I am trying is to use a soap call to send and retrieve information between two web applications. I have added a service reference and now in my code I am trying to use the soap client to make a ...
0
votes
0answers
19 views
eBay API, how do I set ShippingServiceCodeType to ship from China with services such as: EMS, China Post etc. (on US site) SOAP C#
I am trying to list a product on the US site which is located in China. I would like to select a shipping service such as EMS or China Post, so the buyer can choose which one they would like. However, ...