I like to change the class name generated from a complex type from the
following schema common.xsd. "UserType" rename to "User",
"UserWithEffectiveDateType" rename to "UserWithEffectiveDate". I tried JAXB
(v2.2.6) customization with "schema component designator" (SCD). However,
output consists of "
private String contentType = "application/json-impl";
run.client still got the same error (after running target "clean").
On Fri, Dec 27, 2019 at 9:13 AM robertlazarski .
wrote:
> Did you set this http header from the client side?
>
> "Content-Type: applicat
he.axis2.transport.http.SOAPMessageFormatter"/>
> > >
> > class="org.apache.axis2.transport.http.SOAPMessageFormatter"/>
> > >
> class="org.apache.axis2.json.gson.JsonFormatter"/>
> >
> >
> >
&g
ki .
wrote:
> Port 8443 is HTTPS, you likely mean port 8080 as you would need a
> cert, and in most cases load balancer of some sort, for SSL.
>
> On Sat, Dec 21, 2019 at 2:50 AM albert kao wrote:
> >
> > Thank you for your suggestions :).
> > I did:
> > c
that I use one config for SOAP and another
> for json via build time tweaks of the file
>
>
>
>
> http://www.w3.org/ns/wsdl/in-only";
>
> class="org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver"/>
> http://www.w3.o
How to fix the "com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected
character '{' (code 123) in prolog; expected '<'" in samples/json ?
cd $AXIS2_HOME/samples/json
ant run.client
client.compile:
[javac] /home/carmen/axis2-1.7.9/samples/json/build.xml:66: warning:
'includeantruntime' w
like a 15 second timeout , try passing this to maven:
>
> -Dexec.cleanupDaemonThreads=false
>
> On Fri, Dec 13, 2019 at 12:49 PM albert kao wrote:
> >
> > I am following samples/transport/https-sample/README.txt.
> >
> > Running the Sample Client get the expected resul
I want to port some axis1 codes to axis2 with WSDL2Java and xmlbeans.
e.g.
axis1 generated this code:
public class UserRequest implements java.io.Serializable {
public java.lang.String getAddrSame() {
//...
}
}
I create this build.xml:
Then axis2 generate this c
I am following samples/transport/https-sample/README.txt.
Running the Sample Client get the expected result.
However, how to fix the following WARNING?
org.apache.axis2.deployment.AxisConfigBuilder processDeployers
WARNING: Unable to instantiate deployer
org.apache.axis2.deployment.ServiceDeploye
://localhost:8080/services/listServices
>
> On Tue, Dec 10, 2019 at 2:31 AM albert kao wrote:
> >
> > I did these:
> > $ cd $AXIS2_HOME/samples/jaxws-calculator
> > $ mvn clean install
> >
> > Two files were created:
> > samples/jaxws-calculator/ta
try this URL as a diagnostic test, to see if there are
> any clues about the state of this service and axis2 in general.
>
> http://localhost:8080/axis2/axis2-web/HappyAxis.jsp
>
> On Tue, Dec 10, 2019 at 2:31 AM albert kao wrote:
> >
> > I did these:
> > $
I did these:
$ cd $AXIS2_HOME/samples/jaxws-calculator
$ mvn clean install
Two files were created:
samples/jaxws-calculator/target/jaxws-calculator-1.7.9.jar
samples/jaxws-calculator/target/jaxws-calculator-1.7.9-client.jar
$ cd $AXIS2_HOME/samples/jaxws-calculator/target/classes
java org.apac
>
>
>
>
>
>
>
>
>
>
> On Thu, Oct 24, 2019 at 2:02 AM albert kao wrote:
>
>> I modified log4j.properties, rebuil
axis2-transport-local-1.7.9.jar into WEB-INF/classes and expanding it via
> 'jar xf axis2-transport-local-1.7.9.jar' .
>
> On Sat, Oct 19, 2019 at 5:21 AM albert kao wrote:
>
>> I am learning axis2 by doing the "samples/java_first_jaxws".
>>
>&g
nsport-local-1.7.9.jar in the expanded war dir
> axis2.war/WEB-INF/lib ?
>
> Regards,
> Robert
>
> On Sat, Oct 19, 2019 at 5:21 AM albert kao wrote:
>
>> I am learning axis2 by doing the "samples/java_first_jaxws".
>>
>> $ cd $AXIS2_HOME/samples/j
I am learning axis2 by doing the "samples/java_first_jaxws".
$ cd $AXIS2_HOME/samples/java_first_jaxws
$ mvn package
java_first_jaxws-1.7.9.war was built successfully.
$ cp
~/axis2-1.7.9/samples/java_first_jaxws/target/java_first_jaxws-1.7.9.war
$JBOSS_HOME/standalone/deployments
wildfly server
Program files.
>
> Can make a folder like c:\j\tomcat
> Put tomcat, put exploded war, in there web-inf...copy aar file.
>
> On Fri, 18 Oct, 2019, 19:24 albert kao, wrote:
>
>> How to put the aar file in the WEB-INF/services directory manually
>> without the
> Regards,
> Robert
>
>
>
> On Wed, Oct 16, 2019 at 1:43 AM albert kao wrote:
>
>> I am learning axis2 by doing the "POJO Web Services using Apache Axis2".
>> WeatherService.aar was built successfully.
>>
>> I set the path to the WeatherService.
I am learning axis2 by doing the "POJO Web Services using Apache Axis2".
WeatherService.aar was built successfully.
I set the path to the WeatherService.aar in the Administration Console.
Then I click the upload icon.
The "No valid CSRF token found in request" message appear in the web
browser.
I am learning axis2 by doing the "POJO Web Services using Apache Axis2".
WeatherService.aar was built successfully.
I set the path to the WeatherService.aar in the Administration Console.
Then I click the upload icon.
The "No valid CSRF token found in request" message appear in the web
browser.
Is there any axis2 REST (ideally with all GET, POST, PUT and DELETE
operations) tutorial with WSDL 2.0 (written in 2010 ideally)?
I found one tutorial (http://wso2.org/library/3726) written in 2008 which
write the code first and then use Axis2 java2wsdl tool to generate a WSDL.
Then tinker the gene
21 matches
Mail list logo