Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7674075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:39:31+00:00 2026-05-31T16:39:31+00:00

I’m trying to generate some stubs for a WSDL (using xmlbeans) and keep running

  • 0

I’m trying to generate some stubs for a WSDL (using xmlbeans) and keep running into some issues. I’m using the following page:

http://axis.apache.org/axis2/java/core/docs/userguide-creatingclients-xmlbeans.html

The only part of these steps that I’m skipping is the “client.java” part because I already have another project ready I want to plug the resulting jars into. A quick run down of my steps are as follows:

  • My WSDL is a crmonline instance, so I run something like this:

C:\Work\aaa2>WSDL2Java -uri
https://mycrmorgname.crm.dynamics.com/XRMServices/2011/Organization.svc?wsdl
-p crmsdk -d xmlbeans -s -o c:\mystubfolder

  • I build the project using “ant”

  • In my “client” project I reference the 2 jars created in .\build\lib

My project builds fine once I add all my axis2 / apache references etc, but when I launch it through playframework I get errors when I hit the first page. The first error seems to be:

17:48:45,289 ERROR ~ Error in ControllersEnhancer. 
controllers.ProfileController.editProfile has not been properly enhanced 
(fieldAccess javassist.expr.FieldAccess@212ca458).

or something similar to that. Scrolling down through the error I can see that I’m getting this:

The file /app/models/MyDynamicsClient.java could not be compiled. 
Error raised is : org.apache.axiom.om.util.AXIOMUtil cannot be resolved

Now, I haven’t even hit any of my web services yet, or even instantiated any of my classes … I’m at a loss as to why this is happening. Or to be more accurate, what exactly am I messing up! Am I missing a reference to something? Doing a search on AXIOMUtil tells me this should be in Axiom-api (version I have is Axiom-api-1.2.10.jar). I have this referenced and doesn’t seem to help. Or maybe I’m doing something else wrong someplace?

Some details on versions:

  • Axis2 1.5.4
  • Apache-ant 1.8.3

Any help would be very much appreciated!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T16:39:32+00:00Added an answer on May 31, 2026 at 4:39 pm

    Ok, after trying a lot of different things and rereading the sites/instructions I realised what I was doing wrong. Or at least I figured out a couple of things that I started to do differently that fixed the problem.

    Firstly, I was using jar files from another sample project for the apache http components. I don’t know if this had an impact, but I downloaded a fresh version of this anyway and referenced those JARS instead.

    Also, instead of creating jars in my “stub” project and referencing those I copied all the generated stubs/classes directly into the existing client project. I have a feeling this might have been what fixed my problem. Or maybe a mix of this and the previous step I did!

    So my new steps are as follows:

    1. Ensure you have all the correct versions downloaded for required components. In my case I have the following:

      • Apache Axis 2 v 1.5.4
      • Apache HTTP components client 4.1.3
      • Apache-ant 1.8.3
    2. Copy all the JARS from the Axis2 and HTTP Components libs into your client project and reference them.

    3. Use WSDL2Java to create your stubs and classes within it’s own project.

    4. Ensure the project builds using Ant

    5. Copy all the generated class files within the src folder into the source folder of your client.

    6. Fix any other reference isssues and Build

    Thankfully this got me going.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a French site that I want to parse, but am running into
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I am currently running into a problem where an element is coming back from
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I'm making a simple page using Google Maps API 3. My first. One marker
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I am trying to understand how to use SyndicationItem to display feed which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.