dcshonda | 29 Nov 18:39
Picon

XFire Response: The body of the SOAP message doesn´t have xsi:type in the out parameter

Hi everyone, I have a xfire service in my project (Java - Struts) and in the reply my webservice doesn´t include the xsi:type in the out parameter. This is the reply: Text of the reply I need that output parameter has the next format: Text of... I have a Servlet for build the service: ... public class XFireServicesServlet extends XFireServlet{ public void init() throws ServletException { super.init(); Service service = null; ObjectServiceFactory factory = new ObjectServiceFactory(getXFire().getTransportManager(), new AegisBindingProvider()); Map properties = new HashMap(); properties.put(ObjectServiceFactory.STYLE, SoapConstants.STYLE_WRAPPED); properties.put(ObjectServiceFactory.USE, SoapConstants.USE_LITERAL); service = factory.create(TestService.class, "TestService", "http://daco.es/web/ws/TestService", properties); service.setProperty(ObjectInvoker.SERVICE_IMPL_CLASS, TestServiceImpl.class); getController().getServiceRegistry().register(service); } } ... And the Service just take a String and return another one. Interface: ... public String testOperation(String request) throws java.rmi.RemoteException; ... Class: ... public String testOperation(String request) throws RemoteException { String response = null; try { ... response = ... return response; } catch (Exception e) { ... } return null; } ... ¿Can anyone help me? I´m going crazy :) ¡Thanks a lot!

View this message in context: XFire Response: The body of the SOAP message doesn´t have xsi:type in the out parameter
Sent from the XFire - User mailing list archive at Nabble.com.
f.rm | 21 Oct 15:14
Picon

XFire/CXF: Validation of minOccurs=1 in request using Aegis Binding

Hi!

We still use XFire 1.2.6 in our project with the Aegis as data binding provider (it is planned to migrate to
CXF sometimes in the future).

I experimented a bit with the minOccurs and nillable attributes, which can be customized via the
xyz.aegis.xml files. It seems that XFire/Aegis validates requests regarding the nillable setting
correctly, e.g. if an element has the attribute xsi:nil="true" set, but is not nillable, the correct
fault is sent back as response (attributeXYZ is nil, but not nillable).

But when leaving out an element that has the attribute minOccurs="1" set in the corresponding
xyz.aegis.xml file, XFire/Aegis does not complain about that.

Is this feature not implemented or do I miss something?

I read that when using CXF 2.3 and Aegis, the Schema Validation can be activated using the Woodstox 4.x.
Would that validate the minOccurs setting correctly based on a given WSDL?
--

-- 
GRATIS! Movie-FLAT mit über 300 Videos. 
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

Suraj Badjatiya | 13 Jul 09:23
Picon

SOAP response contains too many tags


Hi,
I am trying to create client module using Xfire.
I have only WSDL URL and with the help of Myeclipse I created client module.
While I run it, it gives me expanded(detailed) XML example is written below
have a look and help me to sort out it.
Thanks 
suraj
<com.agoda.GetResultResponse>
  <getResultResult>
    <content>
      <com.sun.org.apache.xerces.internal.dom.ElementNSImpl
serialization="custom">
        <com.sun.org.apache.xerces.internal.dom.NodeImpl>
          <default>
            <flags>24</flags>
            <ownerNode
class="com.sun.org.apache.xerces.internal.dom.DocumentImpl"
serialization="custom">
              <com.sun.org.apache.xerces.internal.dom.NodeImpl>
                <default>
                  <flags>0</flags>
                </default>
              </com.sun.org.apache.xerces.internal.dom.NodeImpl>
              <com.sun.org.apache.xerces.internal.dom.ParentNode>
                <default>
                  <firstChild
class="com.sun.org.apache.xerces.internal.dom.ElementNSImpl"
reference="../../../../../.."/>
                  <ownerDocument
class="com.sun.org.apache.xerces.internal.dom.DocumentImpl"
reference="../../.."/>
                </default>
              </com.sun.org.apache.xerces.internal.dom.ParentNode>
              <com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl>
                <default>
                  <allowGrammarAccess>false</allowGrammarAccess>
                  <changes>4</changes>
                  <documentNumber>0</documentNumber>
                  <errorChecking>true</errorChecking>
                  <nodeCounter>0</nodeCounter>
                  <standalone>false</standalone>
                  <xml11Version>false</xml11Version>
                  <xmlVersionChanged>false</xmlVersionChanged>
                  <docElement
class="com.sun.org.apache.xerces.internal.dom.ElementNSImpl"
reference="../../../../../.."/>
                </default>
              </com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl>
              <com.sun.org.apache.xerces.internal.dom.DocumentImpl>
                <default>
                  <mutationEvents>false</mutationEvents>
                </default>
              </com.sun.org.apache.xerces.internal.dom.DocumentImpl>
            </ownerNode>
          </default>
        </com.sun.org.apache.xerces.internal.dom.NodeImpl>
        <com.sun.org.apache.xerces.internal.dom.ChildNode>
          <default>
            <previousSibling
class="com.sun.org.apache.xerces.internal.dom.ElementNSImpl"
reference="../../.."/>
          </default>
        </com.sun.org.apache.xerces.internal.dom.ChildNode>
        <com.sun.org.apache.xerces.internal.dom.ParentNode>
          <default>
            <firstChild
class="com.sun.org.apache.xerces.internal.dom.ElementNSImpl"
serialization="custom">
              <com.sun.org.apache.xerces.internal.dom.NodeImpl>
                <default>
                  <flags>24</flags>
                  <ownerNode
class="com.sun.org.apache.xerces.internal.dom.ElementNSImpl"
reference="../../../../../.."/>
                </default>
              </com.sun.org.apache.xerces.internal.dom.NodeImpl>
              <com.sun.org.apache.xerces.internal.dom.ChildNode>
                <default>
                  <previousSibling
class="com.sun.org.apache.xerces.internal.dom.ElementNSImpl"
reference="../../.."/>
                </default>
              </com.sun.org.apache.xerces.internal.dom.ChildNode>
              <com.sun.org.apache.xerces.internal.dom.ParentNode>
                <default>
                  <firstChild
class="com.sun.org.apache.xerces.internal.dom.TextImpl"
serialization="custom">
                    <com.sun.org.apache.xerces.internal.dom.NodeImpl>
                      <default>
                        <flags>24</flags>
                        <ownerNode
class="com.sun.org.apache.xerces.internal.dom.ElementNSImpl"
reference="../../../../../.."/>
                      </default>
                    </com.sun.org.apache.xerces.internal.dom.NodeImpl>
                    <com.sun.org.apache.xerces.internal.dom.ChildNode>
                      <default>
                        <previousSibling
class="com.sun.org.apache.xerces.internal.dom.TextImpl"
reference="../../.."/>
                      </default>
                    </com.sun.org.apache.xerces.internal.dom.ChildNode>

<com.sun.org.apache.xerces.internal.dom.CharacterDataImpl>
                      <default>
                        <data>Search criteria is invalid</data>
                      </default>

</com.sun.org.apache.xerces.internal.dom.CharacterDataImpl>
                  </firstChild>
                  <ownerDocument
class="com.sun.org.apache.xerces.internal.dom.DocumentImpl"
reference="../../../../../../com.sun.org.apache.xerces.internal.dom.NodeImpl/default/ownerNode"/>
                </default>
              </com.sun.org.apache.xerces.internal.dom.ParentNode>
              <com.sun.org.apache.xerces.internal.dom.ElementImpl>
                <default>
                  <attributes>
                    <flags>0</flags>
                    <nodes>
                      <com.sun.org.apache.xerces.internal.dom.AttrNSImpl
serialization="custom">
                        <com.sun.org.apache.xerces.internal.dom.NodeImpl>
                          <default>
                            <flags>168</flags>
                            <ownerNode
class="com.sun.org.apache.xerces.internal.dom.ElementNSImpl"
reference="../../../../../../../.."/>
                          </default>
                        </com.sun.org.apache.xerces.internal.dom.NodeImpl>
                        <com.sun.org.apache.xerces.internal.dom.AttrImpl>
                          <default>
                            <name>Code</name>
                            <value class="age">416</value>
                          </default>
                        </com.sun.org.apache.xerces.internal.dom.AttrImpl>
                        <com.sun.org.apache.xerces.internal.dom.AttrNSImpl>
                          <default>
                            <localName>Code</localName>
                          </default>
                        </com.sun.org.apache.xerces.internal.dom.AttrNSImpl>
                      </com.sun.org.apache.xerces.internal.dom.AttrNSImpl>
                    </nodes>
                    <ownerNode
class="com.sun.org.apache.xerces.internal.dom.ElementNSImpl"
reference="../../../.."/>
                  </attributes>
                  <name>Error</name>
                </default>
              </com.sun.org.apache.xerces.internal.dom.ElementImpl>
              <com.sun.org.apache.xerces.internal.dom.ElementNSImpl>
                <default>
                  <localName>Error</localName>
                </default>
              </com.sun.org.apache.xerces.internal.dom.ElementNSImpl>
            </firstChild>
            <ownerDocument
class="com.sun.org.apache.xerces.internal.dom.DocumentImpl"
reference="../../../com.sun.org.apache.xerces.internal.dom.NodeImpl/default/ownerNode"/>
          </default>
        </com.sun.org.apache.xerces.internal.dom.ParentNode>
        <com.sun.org.apache.xerces.internal.dom.ElementImpl>
          <default>
            <name>GetResultResponse</name>
          </default>
        </com.sun.org.apache.xerces.internal.dom.ElementImpl>
        <com.sun.org.apache.xerces.internal.dom.ElementNSImpl>
          <default>
            <localName>GetResultResponse</localName>
          </default>
        </com.sun.org.apache.xerces.internal.dom.ElementNSImpl>
      </com.sun.org.apache.xerces.internal.dom.ElementNSImpl>
      <age></age>
    </content>
  </getResultResult>
</com.agoda.GetResultResponse>
--

-- 
View this message in context: http://old.nabble.com/SOAP-response-contains-too-many-tags-tp29147339p29147339.html
Sent from the XFire - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

bob johnson | 20 Apr 10:20
Picon
Favicon

jean-pierre boillot

http://www.vecchigiochi.com/home.php

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

bob johnson | 16 Apr 10:43
Picon
Favicon

Emilie Zankar

http://www.hotelmonica.it/home.php

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

bob johnson | 16 Apr 10:42
Picon
Favicon

christine dumont

http://www.hotelcervia.it/home.php

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

bob johnson | 15 Apr 02:54
Picon
Favicon

gaelle vaugon

http://www.mgeriswil.ch/home.php

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

bob johnson | 9 Apr 22:42
Picon
Favicon

M Fiaz Tariq

http://ev-nakliyat.com/org/index.php

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

bob johnson | 8 Apr 09:03
Picon
Favicon

REBECCA HINE

http://evnak.net/public/index.html

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

bob johnson | 7 Apr 07:52
Picon
Favicon

Michaela Bndgen

http://ceupharmacyalumni.org/about/index.html

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

bob johnson | 3 Apr 19:51
Picon
Favicon

michael gray

http://www.krawattendiscount.com/lndex.html

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Gmane