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

  • Home
  • SEARCH
  • 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 8370095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:49:45+00:00 2026-06-09T13:49:45+00:00

GroovyWS is a framework which is internally using CXF. I want to make a

  • 0

GroovyWS is a framework which is internally using CXF. I want to make a request as follows:

<param2 xsi:type="ns2:Map">
    <item xsi:type="ns2:Map">
        <key xsi:type="xsd:string">param1</key>
        <value xsi:type="xsd:string">param2</value>
    </item>
</param2>

Currently I am trying to do this from a grails service as following:

def proxy = new WSClient("http://xyz", this.class.classLoader)
proxy.initialize()

proxy.client.invoke("call", new HashMap<String, String>())

Which gives

javax.xml.bind.JAXBException
class java.util.HashMap nor any of its super class is known to this context.

I even tried [:] and stuff but do not get it working.

  • 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-06-09T13:49:47+00:00Added an answer on June 9, 2026 at 1:49 pm

    Well, it’s been a while since I did something like this, but I seem to remember that CXF-generated clients had a method called “create”, similar to:

    def mapObject = proxy.create( "ns2.Map" );
    

    Give that a try and see if the mapObject has the methods or members you’re expecting.

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

Sidebar

Related Questions

I'm using Grails and want to use groovyws to call an web-service. But my
Using GroovyWS the usual way to consume SOAP service. following error: JAXB - Property
I've faced with a problem of sending complex requests with GroovyWS. This is sample
I am developing a custom plugin where is make use of groovys HTTPbuilder everything
I am experimenting with GroovyWS in the hope of completely replacing Axis2 client code.
i am trying to use Groovy WS and use the following code. @Grab(group='org.codehaus.groovy.modules', module='groovyws',
I have a few problems with the cxf + WSClient in soap. I am
Can I use Spring Security annotations in my ZKGrails composers to secure the ajax-callbacks,
Being fairly new to Grails i was wondering what people use to consume a
Can I run a Grails war under Tomcat in a machine without JDK (Only

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.