soap

Adding simple security to SOAP WCF hosted on Azure webapp

蹲街弑〆低调 提交于 2019-12-23 17:21:28
问题 I have hosted a SOAP WCF on an azure web application. This service is going to be consumed by servers only and contains no UI. I only need one service account to auth my WCF. I cannot use oauth since it's SOAP. I have read up a little on ACS, but it seems overkill in my case since I just want to use one account to secure my WCF. My thinking was I was going to leverage the Azure AD to make a service account there and use it to secure the service. Is this even possible on a web app or do i need

How do you call a web service in Java with only XSD and NO WSDL?

余生颓废 提交于 2019-12-23 17:02:24
问题 I have a web service outside of my company that provides no WSDL for their service. They do provide: a detailed document on how to POST to their service what a SoapEnvelope should look like and even an .xsd that I can use to create the message to put in the SOAP <env:Body></env:Body> of the call. How do you make a SOAP call to a web service without a WSDL (in Java)? I need a tool that can take my JAXB-formatted XML message, wrap it in a SOAP Envelope, and send it as HTTP POST to some web

“Hello World” SOAP Web Service using Spring MVC [closed]

拟墨画扇 提交于 2019-12-23 16:25:23
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 years ago . I want to write a hello world Spring MVC web service in Java. I'm really struggling to find a tutorial that goes to the basics to allow me to do this - ie. step by step for hello world. Can anyone please help? 回答1: Spring Web Services ( Spring-WS ) is a product of the Spring community focused on

SOAP HTTPS Testing getting a class cast exception (String to Integer)

时光怂恿深爱的人放手 提交于 2019-12-23 16:01:34
问题 I am testing a SOAP request using a standalone application over HTTPS. I have the required classes created from WSDL (using wsimport), I have populated the object values using some mock values. Surprisingly all my XML values are in String, but I get a class cast exception as "String to Integer" Client Code EWOProviderWSEWOWsdl ewoProvider = new EWOProviderWSEWOWsdl(); EWOWsdlPortType servicePort = ewoProvider.getEWOProviderWSEWOWsdlPort(); BindingProvider bindingProvider = (BindingProvider)

Webreferences sharing classes

╄→гoц情女王★ 提交于 2019-12-23 15:24:12
问题 I wrote a few SOAP Webservices in Java, running on a JBoss 5.1. Two of them share a class, AddressTO. The Webservices are deploying correctly on my ApplycationServer and all went well until I try to use the class addressTO in my C#-client. There are two types in the client application, addressTO and addressTO1. This is a problem because this causes errors like: Fehler 1 Eine implizite Konvertierung vom Typ "acsysteme.i4workspace.client.webservices.addressTO1[]" in "acsysteme.i4workspace

WSDL best practices

安稳与你 提交于 2019-12-23 15:19:17
问题 I'm developing a SOAP application that integrates with a 3rd party. I think the WSDL of this third party is very strange. I'm pretty new to SOAP, so I don't want to go asking them to fix it if it isn't broken. Here's some things I've noticed that I consider wrong about it, though I'm sure it's technically a valid document (hence the reason I wrote "best practices" in the title). Also, I'm using gSOAP as my SOAP library, which may be why I think some of these things are weird (I'm even newer

What is the size limit of a SOAP message's input parameter

拥有回忆 提交于 2019-12-23 15:18:18
问题 Is there a size limit on a SOAP message's input parameters? I currently need to get a potentially large-ish string with the request, so I'm trying to decide if I will have to use SOAP attachments or not. I am using Java Web Services. Thanks, Alex 回答1: There is no theoretical limit: I don't think there is anything in the specifications about maximum lengths, so this will be heavily dependent on your server. Have a look at the documentation for the server. Obviously it depends upon what you're

How to enter credentials (Authorize object) in a web service call?

不打扰是莪最后的温柔 提交于 2019-12-23 15:01:06
问题 I followed the advice provided here and it worked like a charm. Right now, I'm connecting to the server and calling a method named GetFunctionalityTest . The only input to it is a string, which can be seen in the GetFunctionalityTest.m file. So far so good. Then I attempted to call the real service named GetSections whose signature according to the file GetSections.m is as follows. function GetSectionsResult = GetSections(obj,auth) % GetSections(obj,auth) % Input: auth = (Authorize) % Output:

Array response in WSDL - SOAP PHP

旧街凉风 提交于 2019-12-23 14:22:46
问题 In my wsdl code, i get an integer and i want to return result in array. Why in my input i have only one integer and i need result in array because in my php function i want to return information from Database from choosen integer by client. Example, my client send 1, in my php i get information from "1" in DB as his "ID (int)","Name(string)","Number1(int)","Number2(int)","Date&Time of actual client demand « YYYY-MM-DD hh:mm:hh » (??)" How i can do this ? Thanks, this is my actual wsdl with

Custom Endpoint Behavior not being used in WCF Client with Service Reference

无人久伴 提交于 2019-12-23 14:03:51
问题 I have an issue that I am not quite sure how it started. I am fairly certain it was working fine before, but do not remember making any changes. First, please do not focus too much on the setup unless it is directly impacting why it is not working. I am not looking for critiquing as much as I am what is causing it to not work. I am exposing an API that uses HTTP header authentication. I am consuming operations from this API in my solution. In order to avoid boilerplate code, I created a