axis2

WSO2 ESB 4.8.1 ERROR White spaces are required between publicId and systemId

送分小仙女□ 提交于 2019-12-12 07:07:26
问题 We are working with WSO2 ESB 4.8.1 with JAVA 1.7.0_55. Always, when we start the ESB and make the first request we receive this error: TID: [0] [ESB] [2015-04-22 10:51:31,067] ERROR {org.apache.synapse.transport.passthru.util.RelayUtils} - Error while building Passthrough stream {org.apache.synapse.transport.passthru.util.RelayUtils} org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,62] Message: White spaces are required between publicId and

Transform response to plain-text using wso2 esb 4.0.6

我的未来我决定 提交于 2019-12-12 04:47:32
问题 I'm new to web-service and somehow I have created a simple web-service over http/https using wso2 esb 4.0.6. Now my requirement is to remove the tag from response i.e. i need plain text in response, below code snippets will give u a brief idea of my requirement. <case regex="POST"> <property name="HTTP_METHOD" value="POST" scope="axis2" type="STRING"/> <enrich> <source type="inline" clone="true"> <success xmlns="">Your request for subscription is being processed.</success> </source> <target

Axis2/rampart cryptography problem with signaturePropFile

泄露秘密 提交于 2019-12-12 03:41:11
问题 I have problem with WebService client that has to use WS-Security. My client is written with axis2 . It works when I do not enable cryptography (of course with my server emulator). I enabled cryptography by adding to axis.xml : <!--Signature and Encryption : Using the request's certificate--> <module ref="rampart" /> <parameter name="OutflowSecurity"> <action> <items>Signature</items> <user>mn</user> <passwordCallbackClass>PWCallback</passwordCallbackClass> <signaturePropFile>client

Android webservice access error

扶醉桌前 提交于 2019-12-12 03:38:42
问题 I have a simple java web service deployed on Tomcat7 server. I have used Axis2 as soap engine.(Web service & WSDL is OK) Here is the code I have used for the web service public class TestWs { public String sayHello(){ return "Hello Grant"; } } I have accessed this web service from Android 2.2.It is perfectly OK.But this program not works for Android 4.0.3 Code of my Android program import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization

WSO2 ESB : Aggregate node droppping message after aggregation

╄→尐↘猪︶ㄣ 提交于 2019-12-12 03:14:28
问题 I am implementing the Fan out -- Fan in splitter EIP inside a proxy , whereby : |-----> shoe store-(1-M)------------- productSearchRq -- |-->Rs |-----> ack clothes store-(0-1)------ Shoe store = Data service and Clothes store = Axis 2 service . So in short I implement the pattern above ; I clone the request , send it , get responses , format them using payloadFactory: <productDetails> <productID>$1</productID> <productName>$2</productName> <productSize>$3</productSize> <productColour>$4<

How to troubleshoot Axis 2 Error

穿精又带淫゛_ 提交于 2019-12-12 03:12:24
问题 I have created a WSDL and I wanted to make use of AXIS 2 as my web server. I downloaded it into my C:\axis2-1.6.1 and set all the required installation parameters. My question is, I deployed my *.aar file into the repository/services folder and the axis2server was able to decompressed it and I see my web service when I navigate into the http://localhost:8080 When I used SOAPUI to test my service, I am only getting this error. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap

how can I share proxy objects across multiple Axis2 web service clients?

落花浮王杯 提交于 2019-12-12 02:58:32
问题 I have several WCF services that I want to access from a Java client. The services have some complex data contracts used across multiple services. I want to be able to generate client code that will allow me to share the objects generated from the data contracts across all the services. Basically I want to be able to retrieve data from one service and pass it to another. This was pretty easy to accomplish in .NET using SvcUtil.exe, so I'm thinking there has to be a way to do it in Java. I've

Axis2 client Unexpected subelement apple

落爺英雄遲暮 提交于 2019-12-12 02:35:10
问题 I developed both a server and client application using Axis2 version 1.5.4, Java 1.6 and the server is deployed on tomcat 6. The services are declared using annotations, so there is no .aar files or anything of that sort. The WSDL was created automatically by Axis2. The client was made using the stubs and parameters generated by WSDL2Java using the command: %axis2_home%\bin\WSDL2Java -p com.audaxys.leaseclient.servicestub.generic -d adb -Eosv -s -g -u -uw -or -sp -S src/main/java -R src/main

how to generate java class from xsd by using xmlbeans in gradle

北战南征 提交于 2019-12-12 02:34:01
问题 I am new to gradle. In my project, i have xsd files and i would like to generate java classes from that xsd (using xmlbeans only). How to do that in gradle. I am using axis2 1.6.1, gradle, xmlbean 2.3.0` (JAXB is not an option in my current project). 回答1: As far as I know, you can use the "xmlbeansPlugin" for this. Can't say now, whether it's possible to change the xmlbean's version to the older one. All you need is to apply the plugin to your build script: apply from: 'https://raw.github.com

Axis2 dependencies for a simple soap “rpc encoding” call

六眼飞鱼酱① 提交于 2019-12-12 02:29:23
问题 we need to access an obsolete soap webservice with "RPC Encoding" style. unfortunately this is not supported by modern tools, such as JAX-WS, so we need to use the Axis2 library. I've created the stubs with the maven plugin, as in this example: Error when using XmlBeans generated classes However, when I call the webservice, it complains about missing dependencies. I can add the missing dependencies using a trial and error approach (every time that I get a ClassNotFoundException, I find out