Hi, I'm using vs2013 , asp.net and C#
Do I need to add the Java SOAP web services differently than when simply adding a ASP.net web api?
The API requires credential so I enter the service account credential then it just repeatedly popping up the Web Discovery Service dialog as attached file, and asked is I want to continue. I clicked yes, enter the credential again and it just goes right back to the same dialog. What's going on here? It doesn't complaint that it's credential, instead is just goes in a loop of keep asking me to enter credential.
Okay, I finally see the Error detail in the Add Service Ref dialog. It says the following. Does this mean the credential I entered is invalid?
"Metadata contains a reference that cannot be resolved: 'https://xxxxx.xxx.xxx.xxx/yyyy'
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Basic realm="XXXXXX API"'.
The remote server returned an error: (401) Unauthorized.
If the service is defined in the current solution, try building the solution and adding the service reference again."
This is what the 3rd party vendor says about their APIs, below. Do I have to do anything in the web.config file to be able to add these references? Like discussed here, http://stackoverflow.com/questions/1365163/can-not-call-web-service-with-basic-authentication-using-wcf
The API service endpoint employs the use of Simple Object Access Protocol (SOAP, version 1.1) as the transport specification and Hypertext Transfer Protocol Secure (HTTPS) as the transport protocol. XML is used as the data exchange format to ensure the validation of structured message data conforms to the specification of the API. The API also employs the use of Message Transmission Optimization Mechanism (MTOM), a method for efficiently sending/receiving binary data, utilized when exchanging documents.
The XXXXX API makes available a Web Service Description Language (WSDL), published through its service endpoint, which describes the manner in which the service may be called, details the available service operations, and specifies the message structures.
A client application must be built in congruence with the service specification as provided by the WSDL. Any number of technologies may be used to build the client.