soap

Add data to Sharepoint 2013 list from Excel with VBA

て烟熏妆下的殇ゞ 提交于 2020-01-06 15:22:50
问题 I have been attempting to add data to a Sharepoint 2013 list from Excel using VBA with no success. I am using as a template the example that is found all over the internet. Sub Add_Item(ListName As String, SharepointUrl As String, ValueVar As String, FieldNameVar As String) Dim objXMLHTTP As MSXML2.XMLHTTP Dim strListNameOrGuid As String Dim strBatchXml As String Dim strSoapBody As String Set objXMLHTTP = New MSXML2.XMLHTTP strListNameOrGuid = ListName 'Add New Item' strBatchXml = "<Batch

How to add or manipulate http header in a webservice call in java

匆匆过客 提交于 2020-01-06 15:02:26
问题 There is a requirement to add a new http header key value pair in a soap request. Something like below. HTTP/1.1 200 OK Cache-Control: no-cache Pragma: no-cache Content-Type: text/xml; charset=utf-8 New-Key: Some dynamic value <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> How can I add a new key value pair (New-Key: Some dynamic value) in http header while making a soap request? Value will later get extracted by server from http header. As a

Getting Soap Error SOAP-ERROR: Parsing WSDL: Couldn't load… failed to load external entity

我与影子孤独终老i 提交于 2020-01-06 13:52:47
问题 //put those data in an array to make the xml below $xml = '<order>'; $xml.= '<details>'; $xml.= '<id>'.$order_number.'</id>'; $xml.= '<restaurant>_Generic</restaurant>'; $xml.= '<datePlaced>'.date('Y-m-d H:i:s').'</datePlaced>'; $xml.= '<deliveryDate>'.$delivery.'</deliveryDate>'; $xml.= '<totalPrice>'.$total.'</totalPrice>'; $xml.= '<totalTax>'.$total_tax.'</totalTax>'; $xml.= '<totalDiscount>'.$total_discount.'</totalDiscount>'; $xml.= '<deliveryFee>'.$total_shipping.'</deliveryFee>'; $xml.

Fatal error: Uncaught SoapFault exception: [env:Client] Internal Error

帅比萌擦擦* 提交于 2020-01-06 12:44:48
问题 I'm trying to send test message with my PHP SOAP client. I'm using BeSimpleSoap library because I had problems with standard PHP SOAP calss and NuSOAP class. Part of the scriptis is: $client = new BeSimple\SoapClient\SoapClient("GSBService.wsdl", array( "trace"=>1, "exceptions"=>1, 'location'=>$SERVICE_TEST, "local_cert" =>$SOAP_cert, 'uri'=>$NAMESPACE_URI, "passphrase"=>$cert_password, "connection_timeout" => 60)); var_dump($client->echo('abc1234')); print_r( $client->sendMessage($par

Fatal error: Uncaught SoapFault exception: [env:Client] Internal Error

…衆ロ難τιáo~ 提交于 2020-01-06 12:43:57
问题 I'm trying to send test message with my PHP SOAP client. I'm using BeSimpleSoap library because I had problems with standard PHP SOAP calss and NuSOAP class. Part of the scriptis is: $client = new BeSimple\SoapClient\SoapClient("GSBService.wsdl", array( "trace"=>1, "exceptions"=>1, 'location'=>$SERVICE_TEST, "local_cert" =>$SOAP_cert, 'uri'=>$NAMESPACE_URI, "passphrase"=>$cert_password, "connection_timeout" => 60)); var_dump($client->echo('abc1234')); print_r( $client->sendMessage($par

MessageHandler in JAR/WAR/EAR

China☆狼群 提交于 2020-01-06 08:36:09
问题 I am making a PEP Server which intercepts the SOAP messages, and checks them against WS-Policies defined in a separate database. It is divided in 3 compontents: 1) PEP (Policy enforcemenet point) intercepts the messages with a message handler 2) sends it to the -> PDP (Policy decision point) decides which message gets through 3) this by using the PIP (Policy information point) which has a database with the policies. If the policies are correct, the message gets send further to the web service

Why doesn't webservice work manually?

∥☆過路亽.° 提交于 2020-01-06 07:30:31
问题 I have webservice that has more than one method. I use firefox soaclient plugin for test them. All methods work properly. These are normal until now. I wrote library on android for call these .net webservice. I have methods, first one prepares envelop, the other one calls method. All methods except one work with these way. I get prepared envelop from my lib for method that doesn't work and use this envelope on firefox soap client, it returns me response in correct way. My own method that

xml parsing iphone, objective C?

南笙酒味 提交于 2020-01-06 07:25:10
问题 i want to get data between xml tags? how to navigate? and get values.. im using wsdl2objc from google code:http://code.google.com/p/wsdl2objc/ output soapbody follows: read instruction here: http://code.google.com/p/wsdl2objc/wiki/UsageInstructions my header file: #import "MService.h" how to get image source and text value???? please help me.... 回答1: if([bodyPart isKindOfClass:[types_getFavoriteColorResponseType class]]) { types_getFavoriteColorResponseType *body = (types

Downloading SOAP response as xml file

北城余情 提交于 2020-01-06 06:45:38
问题 I have a client who fetches content from a SOAP service. Because it uses a lot of resources and I need to test a lot of things I don't want to mess with their server capabilities. Thats why I need a way to download the raw XML response to an .xml file. What would be the easiest way to accomplish this? I have already tried to make a dump to a file with SOAPUI but this doesn't allow to automate the soap calls and download all the files in a sequence. 回答1: Similar to what albciff suggested,

Can Generic Type Mapper (MSSOAP toolkit) be persuaded to handle empty arrays

泄露秘密 提交于 2020-01-06 06:25:33
问题 I'm having the problem described here: http://groups.google.com/group/microsoft.public.xml.soap/browse_thread/thread/029ee5b5d4fa2440/0895d73c5c3720a1 I am consuming a Web Service using Office 2003 Web Services Toolkit . This generates classes for all the data returned by my web service: one of the classes has a property that is an array which may be empty. When I call the web service, the Generic Type Mapper raises an error: array dimensions do not match definition Does anyone know of a