Questions tagged [wsdl]
3350 questions
1
votes
1
answer
916
Views
WCF Service WSDL Link with domain name
When i publish my WCF 4.0 service to server, the domain name is always converted to IP value in wsdl address. What i mean is; i want the wsdl link to be
http://www.mydomainaddress/svc/service1.svc?wsdl, instead of http://myipaddress/svc/service1.svc?wsdl
1
votes
2
answer
4.8k
Views
How to get XML file from Java Request object before sending. Web services SOAP
I am building Java application for Online Web Services and let's call it application A . I got the WSDL file form the second party so I can communicate with their application and let's call it application B.
From the WSDL file I generate the Java classes needed which are Requests and Responses clas...
1
votes
1
answer
191
Views
Changing wsdl:part name
Is there any way of changing the name of a message part in the WSDL? I have this on my WSDL:
I'm using a MessageContractAttribute and I can actually change the name using the respetive name attribute on the MessageBodyMemberAttribute, but it also changes the element name and that's not what I intend...
1
votes
1
answer
108
Views
SOAP - WCF: OperationContract not receiving input parameters
I am building a new SOAP API in WCF to replace old service in an already established communication with client server.
The catches here are:
I am not allowed to edit the client side
Current API (the one I am replacing) is very old and generates everything in wsdl file, not singleWsdl and wsdl
I mana...
1
votes
0
answer
53
Views
Visual Studio can't read WSDL parameters
I have created webservice in Java, that automatically build WSDL using JAX-WS. My colleague is trying to access method with parameters in Visual Studio, but IDE offers only void method without parameters. I don't have any clue, what can be wrong, do you? Here is the complete wsdl with types schema a...
1
votes
0
answer
400
Views
CXF Client error with xs:dateTime converting to XMLGregorianCalendar
We recently upgraded an old Java 7 application to Spring Boot and the latest versions of Spring boot (along with moving it to Java 8). After re-consuming web services that utilize xs:dateTime in the contract parameters, it now generates an error on the generated client interfaces.
Abstract class jav...
1
votes
0
answer
335
Views
XML Request Generated From WSDL Always adding a namespace
I am having an issue where a request being generated from a WSDL is always appending a namespace to the element one step down from the Soap Body element. We are using Apache Ant and a wsimport command to generate the associated java files.
The recipient desires the request to be in the following for...
1
votes
0
answer
356
Views
Create SOAP requst by zeep
I'm working on WSDL. I need to create SOAP request using by zeep package. So I implemented the code that
from zeep import Client
service = Client('https://api.mindbodyonline.com/0_5_1/ClientService.asmx?wsdl')
request = service.service.GetClientServices
But I could not move on. Because I could not l...
1
votes
0
answer
347
Views
Webservice, Generating WSDL with elementFormDefault = “Unqualified”
we are right now trying to expose a Web Service method to another company. Their demands are that the method is OneWay and we need to have the attribute **elementFormDefault = 'Unqualified' **.
We don't fully understand the way this works, we are using VS 2010 and we added a new Item called 'Web Se...
1
votes
0
answer
30
Views
Generate WADL or any XML documentation for Ruby on rails project
Is there possibility to generate WADL/WSDL from an existing Ruby on Rails project? Need to test the security
Or to generate some kind of documentation for controllers
https://github.com/austvik/wadlgen is too old and doesn't work
1
votes
0
answer
297
Views
Multiple endpoints with one WSDL
I have a wsdl file and existing endpoint related to this wsdl. Is there any way to define another Endpoint using the same wsdl, but with different logic and published with different address?
1
votes
1
answer
89
Views
Creating a Service against a generated web client with a https WSDL
So I have to create a service against a WSDL hosted at a HTTPS url and am having trouble creating the service. For practical reasons I am not allowed to add the cert to my trust store so when I do the following steps with a custom SSLSocketFactory(So we can dynamically change the keystore):
QName n...
1
votes
0
answer
71
Views
wsdlLocation relative when built on mac but absolute when built on pc (jax-ws maven plugin)
I have two wsdl files and I need the path to be relative.
Mac Result:
File01Service.java excerpt:
wsdlLocation = '/service-api-definition/File01.wsdl'
File02Service.java excerpt:
wsdlLocation = '/service-api-definition/File02.wsdl'
PC Result:
File01Service.java excerpt:
wsdlLocation = 'C:/Users/USER...
1
votes
0
answer
190
Views
cxf how to modify targetNamespace from a wsdl to another
I have two wsdl with different targetnamespace. when i receive a request with the targetnamespace of WSDL(1) I want to convert it to the targetnamespace of WSDL(2) to fill elements in wsdl(2).
The two wsdl have the same structure instead of the targetnamespace, and the wsdl(2) have elements that not...
1
votes
0
answer
24
Views
How to get the WDSL of an aws service?
am trying to get the wsdl file from al the aws services in order to make a dataset for the classification of the cloud services. I can found only the wsdl of 3 services.
1
votes
0
answer
85
Views
How to send authentication header for soap in java
I have got a wsdl which looks like:
In eclipse, I have generated client from this WSDL. I have to get the output from IMEISaleConfirmation. But I have to pass AuthHeader username/password for authentication.
My question is that how should I use client to pass the username and password along with the...
1
votes
0
answer
196
Views
soap example successful request response using php curl for Income tax Return efiling(india)
I have been trying this for many days but not succeeded. How to make a successful WSDL Soap request to ITR web site.
The sample soap url: https://incometaxindiaefiling.gov.in/e-FilingSecWS/ditsecws/BulkItrService?wsdl
and
The manual which I have refered is: https://incometaxindiaefiling.gov.in/eFil...
1
votes
1
answer
526
Views
wcf service doesn't work with SOAPUI - create sequence fails
I have build a wcf-service (vb.Net with VisualStudio2017) that works well with a testclient, and wcfstorm. SOAPUI can load the wsdl, but when sending a request, it fails with 'a:ActionNotSupported'
My Service uses WsHttpbinding, no authentification, no security, with sessions and reliable messaging....
1
votes
0
answer
128
Views
Failed to work with multiple WSDLs using Python zeep
I have WSDL service which provides several links like
http://localhost:8081/View1&Wsdl
...
http://localhost:8081/ViewN&Wsdl
But the problem is that I can't work with multiple WSDL links using zeep library (2.5.0)
My code:
import zeep
view1_wsdl = 'http://localhost:8081/View1&Wsdl'
client1 = zeep.Cli...
1
votes
0
answer
25
Views
Wsgen cannot produce wsdl that uses com.sun.xml.ws.developer.StreamingAttachment
I'm having a very weird issue with a jax-ws web service class that we use. When I deploy the application on Tomcat, it properly generates the .wsdl file and I can access it from localhost:8080/server/MyWebservice?wsdl. However if I try to generate the file using the wsgen tool provided by the jdk wi...
1
votes
0
answer
262
Views
Apache CXF failed by generating of Client webservice after adding cxf-rt-transports-http dependency
I am trying to generate a JAVA based Webservice client from an existing WSDL with it's related XSD files using Apache CXF. To do this i use a maven configuration file listed below which basicall works well.
4.0.0
com.testcamera
TestCamera
jar
1.0-SNAPSHOT
TestCamera Maven App
1.8
9.0.4
3.2.2...
1
votes
0
answer
1.1k
Views
client for webservicex.net from WSDL
How do I actually get the weather from webservicex.net?
[email protected]:~/NetBeansProjects/javaClientGlobalWeather$
[email protected]:~/NetBeansProjects/javaClientGlobalWeather$ gradle clean shadowJar;java -jar build/libs/weather.jar
> Task :shadowJar
A problem was found with the configuration of task ':shad...
1
votes
0
answer
113
Views
convert json web Api response to soap response
I have an exist web API project, I have requirement to wrap the web api services in soap services.
I create web service project. I called there to the web api, and got the response as json.
now' my question is, how to convert the json response to wsdl/soap response
code:
[WebMethod]
public string T...
1
votes
0
answer
90
Views
Create fedex international freight shipment using WSDL
I am in process of currently integrating Fedex API for international shipments, I am currently stuck in creating International shipments using WSDL.
I referred the Fedex WSDL developer guide, but I didn't found any sample request for fedex international freight shipment.
If anyone do know the way t...
1
votes
0
answer
125
Views
Passing array object in SOAP call using PHP
Given the below SOAP function (login) and types, how can I send (i need syntax) a SOAP request using php? I'm using WSDL file.
Function:
Array ( [0] => LoginResult login(LoginCallParms $loginCallParms)
Types:
[32]=> string(197) 'struct LoginParms { string adminId; string password; ListOf_xsd_string...
1
votes
0
answer
116
Views
Apache camel endpoint handling
I have an applicationContext xml file that imports multiple resources (camel context files).
I am caching the definitions of this xml before hand using new FileSystemXmlApplicationContext().
Say AddRequest.xml uses some method to connect to some host, while AdviseRequest.xml uses CXF endpoint to SO...
1
votes
1
answer
511
Views
C# How do I add customer data using SOAP V2 in HTTPS (Magento 1.9.3.3)
I'm developing a C# winapp to add customer data to Magento server. My server is using Magento 1.9.3.3. I have a problem when I tried to add data to the server, using https protocol. The code below works flawlessly if using http.
This is my App.config file.
and this is code for create customer.
PortT...
1
votes
0
answer
52
Views
I am getting Error : Cannot create object in nusoap
$url = 'http://rgagroup.dyndns.org:8989/PactRevenUAPI/PACTRevenUAPIService.svc?wsdl';
$xmlData=' pass123 40007 Admin C4 - 47 C4 - Al Dhait,Ras Al Khaima D05 BALADE - Authentic Lebanese Labneh- Baraka 5kg 1 pcs 85 ';
require_once('lib/nusoap.php');
$client = new nusoap_client($url, true...
1
votes
0
answer
134
Views
Too many open files - Web-logic Exception
I'm using DozerMapper for one of my REST services that are calling through a service registry some SOAP web services. Now the weird part is that i'm getting this
Error on retrieving service client from pool (*.*.ws.cal.ServiceTargetException) Error on reading WSDL at:
http://10.32.129.61:9002//Refer...
1
votes
0
answer
62
Views
WSDL - Could not find default endpoint element that references contract
in my application I am referencing a WSDL service by 'Add Service Reference'
then a service reference is created. with this entry in web.config:
at this point I am trying to call this WSDL functions, in order to get the data that I need:
var GetOrderDetails_answer = ServiceHelper.GetOrderDetails(cre...
1
votes
1
answer
50
Views
BPEL Hello World port not being displayed in deploy.xml
I am trying to do a BPEL Hello World Project, I am following this link 'Hello World BPEL'
I am doing everything as stated up to step 13 (however, I do not get a blank wsdl screen as stated in the tutorial, I have to modify the existing elements rather than creating them).
In step 17, as per the tut...
1
votes
2
answer
543
Views
How to log request.xml and response.xml in Apache Axis2
I am trying to log the request and response of a wsdl using Apache axis 2. I got some solution from internet of adding some SOAPHandler and add client-config.wsdd but i am not able to make it working at my place. Anybody can provide me a working solution or any reference which works actually.
Any he...
1
votes
0
answer
2.1k
Views
ServerSOAPFaultException: Client received SOAP Fault from server
I have a wsdl from ERP cloud. To consume it in Java, I compiled it using wsimport and extracted all the java files.
Now I'm trying to use these java files in order to communicate to the server data through wsdl. The wsdl requires authentication.
Problem
Whenever I try to run my custom code to connec...
1
votes
1
answer
55
Views
WSDL field name differs when sending request
I'm sending requests to SOAP WS from Java project.
By wsdl I have generated required sources using:
org.apache.cxf
cxf-codegen-plugin
3.1.6
WSDL that I use has following fields:
So, in the request I want to see something like:
xxx
false
true
1
false
xxx
[email protected]
But my request looks a bit...
1
votes
0
answer
216
Views
Generating and accessing WSDL on Tomcat with Maven
I have a JAX-WS server that I package with Maven and deploy on Tomcat. The pom.xml generates the WSDL file automatically with the trick from Use Maven to trigger a wsgen & wsimport in a row, using wsdlLocation. I only use the first part, that is:
org.codehaus.mojo
jaxws-maven-plugin
generate-wsdl
pr...
1
votes
0
answer
196
Views
SOAP-ERROR: Parsing WSDL: Couldn't load from local file
I have a WSDL file which located in my server, I use this file a lot with SoapClient
$client = new \SoapClient(dirname(__FILE__) . DIRECTORY_SEPARATOR . self::$url, array(
'connection_timeout' => 180,
'verifypeer' => false,
'verifyhost' => false,
'soap_version' => SOAP_1_2,
'st...
1
votes
0
answer
72
Views
SoapUI not recognizing valid regex
If I pass a value such as 123456789, SOAP UI throws a validation error.
Any idea what is the correct regex for checking an integer pattern in SOAP UI?
Repeating the pattern [0-9] 9 times works though but [0-9]{9} doesn't.
I am using something like the snippet below in my xsd file being referred...
1
votes
0
answer
275
Views
Xamarin Forms iOS .Net Standard 2.0 SOAP WSDL - MonoTouch does not support dynamic proxy code generation
I have a Xamarin Forms App. Using latest Xamarin/VS2017 I'm using the built in Connected Service to generate my Proxy from WSDL.
It generates a file which I can reference in my .Net Standard project. It compiles/builds fine in all projects. Runs and works fine in UWP.
In iOS I receive the following...
1
votes
0
answer
54
Views
Reporting Services Integration with Java and NetBeans
I have the following problem. I try to consume soap services in java from SSRS, for this, I use the web services assistant that comes with netbeans (jax-ws (web services client)). Once I have the classes generated in my project, I try to render a report.
ReportExecutionService service = new ReportEx...
1
votes
0
answer
98
Views
Cxf policy HTTPConduit None of the policy alternatives can be satisfied
I generated client for java WS using CXF maven plugin 3.1.10 and cxf's libs v.2.7.7, but when I try to call WS imported in soapUI it throws me exception 'None of the policy alternatives can be satisfied'
My wsdl :
Java code :
try {
service = new PointOfSalesService();
} catch (Exception e) {
Logg...