soap

A web site code can't connect to a soap service on the same server

…衆ロ難τιáo~ 提交于 2019-12-19 11:32:16
问题 My ASP.NET web site calls a .net service from a code in App_Code to retrieve some information. The web service is hosted at http://mydomain/ws/DirectoryService.asmx . Whenever I deploy a web site on any server other then the same server that the required .net service is hosted on, everything works good. Whenever I deploy the site to the same web server, that the web service is hosted on, I get 401.1 error. I have the following binding defined in web.config of the site: <system.serviceModel>

Swift 3 NTLM authentication

元气小坏坏 提交于 2019-12-19 11:21:02
问题 For a recent project I tried to pull some data from a server in the SOAP and oData format respectively, that is protected with a Microsoft NTLM authentication, and it has been a nightmare figuring out how to do it, none of the online examples really worked. 回答1: So here is my solution; I had to adapt, expand and combine a few different sources. I hope this helps someone in the future. // // ViewController.swift // ntlm // // Created by Kamik423 on 21.3.17. // Copyright © 2017 Kamik423 All

Sending an attachment through SOAP HttpWebRequest

会有一股神秘感。 提交于 2019-12-19 11:20:59
问题 I am attempting to send an attachment through a HttpWebRequest in a Console Application. After a few days of searching and scouring the internet for some understandable assistance on this, I came up with what I think is a decent solution from this site While I think I've done everything correctly, I am receiving the following error: Multipart stream ended before a terminating boundary was encountered. Questions: I'm hoping to get some assistance/guidance with the multipart error I'm receiving

Difference between two soap requests

邮差的信 提交于 2019-12-19 11:04:52
问题 My SOAP Request <?xml version="1.0" encoding="UTF-8"?> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:ns1="http://ws.dgpys.deloitte.com" xmlns:ns2="ws.apache.org/namespaces/axis2"> <env:Header> <ns2:ServiceGroupId> <BOGUS>urn:uuid:7C2F61BDE7CB9D9C6D1424938568724</BOGUS> </ns2:ServiceGroupId> </env:Header> <env:Body> <ns1:getGunlukParametreRapor> <date>2015-02-22T00:00Z</date> </ns1:getGunlukParametreRapor> </env:Body> </env:Envelope> Expected SOAP Request <?xml

How to Debug Error Creating List Item in SharePoint via UpdateListItems SOAP API?

空扰寡人 提交于 2019-12-19 10:47:14
问题 I'm having a really tough time debugging a SharePoint SOAP call to create a list item. The SOAP body I'm sending is: <SOAP-ENV:Envelope xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP-ENV:Header/> <ns0:Body> <ns1:UpdateListItems> <ns1:listName>{35BC2CB3-D2FB-4D47-B711-7502819D6E2B}</ns1:listName> <ns1:updates>

Filter unwanted INFO-Messages from Logger

大憨熊 提交于 2019-12-19 10:28:36
问题 I'm using java.util.logging to log in my Java application. I'm also using javax.xml.ws.Endpoint to publish a SOAP-interface. Over the time I added more and more exceptions which all turn up at startup with a log-entry like this: Jan 24, 2011 12:29:27 PM com.sun.xml.internal.ws.model.RuntimeModeler getExceptionBeanClass INFO: Dynamically creating exception bean Class de.wi08e.myhome.frontend.jaxws.NotLoggedInBean I tried following filter to block them, but I'm not sure which class to get with

Changing web service url in SUDS library

谁说胖子不能爱 提交于 2019-12-19 10:24:36
问题 Using SUDS SOAP client how do I specify web service URL. I can see clearly that WSDL path is specified in Client constructor but what if I wan't to change web service url? 回答1: Suds supports WSDL with multiple services or multiple ports (or both), and without having any detailed information on what you're working with, I am only guessing that this is what you are looking for. This question would be easier to answer if you provided more detail, such as what your Client instance looks like.

Array_Of_Int in SOAP client

不想你离开。 提交于 2019-12-19 10:22:41
问题 I have a very interesting issue when I call a SOAP method with my client, I must pass a parameter which is of type Array_Of_Int(Array_Of_Int = array of Integer), the problem is that when the array is being generated in the request, it generates the following <ArrayParam> <item>12345</item> <item>23456</item> <item>34567</item> </ArrayParam> but I believe the server expects <ArrayParam>12345</ArrayParam> <ArrayParam>23456</ArrayParam> <ArrayParam>34567</ArrayParam> I'm pretty sure that Delphi

Date filter in Microsoft Dynamics NAV webservice

半城伤御伤魂 提交于 2019-12-19 10:19:23
问题 When sending a filter to the webservice in php everything works fine, but when we need to sort on dates we encountered a problem. We need to get all the objects modified after a certain date. In a page we have a date element, like so: <xsd:element minOccurs="0" maxOccurs="1" name="Last_Date_Modified" type="xsd:date"/> And we have tried the solution explained here on SO: Dynamics Nav (Navision) webservice ReadMultiple date filter But our date format is a bit different, ours looks like: 2013-01

Remove the namespace from Spyne response variables

随声附和 提交于 2019-12-19 10:07:30
问题 Implementing a WebService according to a specific WSDL. Client cannot be changed. Correctly processing request from Client, but Client is complaining on Response because of namespace in variables. What I want (soapUI response based on WSDL): <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cal="http://callback.foo.com/"> <soapenv:Header/> <soapenv:Body> <cal:foo_statusResponse> <result>SUCCESS</result> <notify>Thanks!</notify> </cal:foo_statusResponse> <