2,385 questions
0
votes
0
answers
25
views
AXIS 2 issue with String array type in WSDL
I have an existing AXIS 1 WSDL. Defining in WSDL is not working with AXIS 2 when try to generate service classes using wsdl2java. Used below code to define the element.
<xs:element name="name&...
0
votes
0
answers
33
views
JAXWS and ApacheAxis2 not able to colive in dependencies
Due to some unavoidable reasons, I have both JAXWS-2.3.1 and ApacheAxis2-1.6 in my dependencies. I have written code using JAXWS to call SOAP API. I’m encountering an issue when trying to call a SOAP ...
0
votes
0
answers
35
views
Axis2 Web Service Not Displaying on localhost:2525/axis2/services/listServices
i have an issue with eclipse and axis2
sorry if my explanation is bad.
so im trying to make a simple web service for MainServiceClass class
i created the web service for it and everything looks good ...
-1
votes
1
answer
98
views
How to invoke apache axis soap services?
I need to create a client for some legacy soap services. I use java and preferably I would create a project with with proper rest endpoints that proxy request/response to this archaic sopa service. I ...
0
votes
1
answer
151
views
What is the alternate of AxisHTTPSessionListener?
I am using AxisHTTPSessionListener in my web.xml as listener like below.
<listener>
<listener-class>org.apache.axis.transport.http.AxisHTTPSessionListener</listener-class>
</...
-1
votes
2
answers
112
views
java - soap xml document character Invocation arguments were modified at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
I have a java class XMLHelper.java that has a method called parseFromString. This method receives a string xml soap request, parses it and converts it into a Document. This method convert the hex ...
2
votes
0
answers
3k
views
Does Axis 2 support Java 17?
I get the following error while using Axis 2 with Java 17. Previously, I was using Java 8. It was all good. During this migration (from Java 8 to Java 17) I getg this error. Can any one help me here ...
0
votes
0
answers
20
views
Prompt for timeout when calling WebService using Axis
This is the code I wrote,I am sure there is no problem with the address and request parameters set here. The request parameters are of XML type
String result = "";
try {
...
0
votes
0
answers
356
views
WSDL2Java not producing source client
I'm trying to use the WSDL2Java script to create the client classes as per the user guide but my output is limited to the following and no source is produced:
Using AXIS2_HOME: C:\Users\...\axis2\...
0
votes
1
answer
524
views
java.net.SocketException: Connection reset by peer (Write failed) after migrating to Http Client 4.x from 4.x
Recently I migrated from Apache Commons Http Client 3.x to the new Apache 4.x http client. Everything was replaced like Multithreaded Http Client Connection Manager to PoolingHttpClientManager. ...
0
votes
0
answers
65
views
Is there any way to add header to SOAP HTTP response in Axis2 generated web service?
I have a Web service which was generated by Apache Axis2 from WSDL using eclipse-mars, running on tomcat 8.0:
Skeleton of methods, generated classes of types and message reciever in out which is auto-...
0
votes
1
answer
102
views
OMLinkedListMetaFactory ClassCastException in a Tomcat Project on OpenSuse Server but not Locally
I'm working with two projects: one is a webservice and the other contains the business logic. The webservice project has a dependency on the business logic project.
To run the project, I'm using ...
-1
votes
1
answer
146
views
Difficulty unmarshalling an XML string into an AXIS2/xmlbeans generated object
I am currently facing an issue with converting an XML string into an object generated with AXIS2 and JAXB (unmarshalling). I'm having trouble accessing the attributes of the object using the getter ...
1
vote
1
answer
2k
views
InternalHttpClient cannot be cast to HttpClient
I have generated axis2 client stub using WSDL2Java command and trying to call a third party web service.
I see this error in console:
java.lang.ClassCastException: class org.apache.http.impl.client....
1
vote
0
answers
45
views
Axis2 AxisFault "Content is not allowed in prolog." - How can i get the invalid XML message?
Occasionally we get invalid XML responses when calling webservices using Axis2. One reason beside others maybe a HTTP 500 on the other end, resulting in a non-XML response.
For better debugging it ...
0
votes
1
answer
253
views
Axis2 wsdl2java throws InvocationTargetException and NullPointerException
I'm having a problem with generating java src from wsdl(xml file) using axis2(tried this with versions 1.6.1-1.8.2): Using this cmd command
.\wsdl2java.bat -uri %PATH_TO_XML% -p org.apache.axis2....
1
vote
1
answer
135
views
httpcore 4.5.13 jar does not contain bundle-version in MANIFEST.MF
I have transitive dependency on httpcore jar (from httpclient-osgi) bundle for my osgi model.
when start the tomcat server, tomcat does ask for bundle-version of httpcore in MANIFEST.MF file. but ...
1
vote
1
answer
2k
views
Getting Error: Could not find or load main class org.apache.axis2.transport.SimpleAxis2Server
I am new to Axis , I am trying to start Axis2 as a Standalone Server using the Standard Binary Distribution package in Linux. I went through this guide: https://axis.apache.org/axis2/java/core/docs/...
0
votes
1
answer
374
views
XSD complexType with mix content not supported in ADB - axis2 wsdl2Java
Getting this error when try to generate java classes from wsdl file.
WSDL File Path : https://files.developer.sabre.com/wsdl/sabreXML1.0.00/TDSServices/GetReservationRQ/GetReservation_1.19.16.wsdl
...
0
votes
2
answers
304
views
WSO2 EI - 6.6.0 https request CLOSE_WAIT
I have a problem with wso2 EI 6.6.0.
I send a https request to wso2 (soap proxy services) with a connection:close header. calls the endpoint and returns a response to the client. problem is - the ...
2
votes
2
answers
1k
views
WSO2 EI: First Element must contain the local name, Envelope , but found html
I'm retrieving some data's from the DSS using select query after that, I do some transformation using payload factory and then send it to an endpoint but when I do that First Element must contain the ...
0
votes
1
answer
1k
views
Use free_y scale on first axis and fixed on second + facet_grid + ggplot2
Is there any method to set scale = 'free_y' on the left hand (first) axis in ggplot2 and use a fixed axis on the right hand (second) axis?
I have a dataset where I need to use free scales for one ...
0
votes
1
answer
2k
views
how to use gradle command to generate proper war file
Good day,
Base on this page, https://www.eclipse.org/webtools/community/tutorials/TopDownAxis2WebService/td_tutorial.html,
I am using eclipse to create a Top Down java bean web service, by using Axis2 ...
1
vote
0
answers
174
views
Upgrade spring 3.X to 5.X shows error while running application
I have updated the spring version from 3 to 5 but i see error when i make a request to my application
Spring context file cannot be located for AxisService
org.apache.axis2.AxisFault: Spring context ...
0
votes
0
answers
31
views
ClassCastException:cannot cast HTTPClient4TransportSender to TransportSender in Axis2 [duplicate]
I have added axis2.xml in server and trying to load the configurationContext using java code.But during loading the configuration getting classCastException for class org.apache.axis2.transport.http....