Package org.codehaus.xfire

Examples of org.codehaus.xfire.XFireRuntimeException


                        STAXUtils.writeNode(nodes.item(i), xsw, false);
                    }
                }
                else
                {
                    throw new XFireRuntimeException("Invalid document type returned: " + o);
                }
            }
            else
            {
                XmlCursor cursor = obj.newCursor();
View Full Code Here


        {
            return new XmlBeansWSDLBuilder(service, transportManager);
        }
        catch (WSDLException e)
        {
            throw new XFireRuntimeException("error creating wsdlbuilder", e);
        }
    }
View Full Code Here

    StaxBuilder builder = new StaxBuilder();
    try {
      log.debug("Config " + fileName + " found.");
      return builder.build(inStr);
    } catch (XMLStreamException e) {
      throw new XFireRuntimeException(e.getMessage());
    }

  }
View Full Code Here

                    }
                }
            }
            catch (JDOMException e)
            {
                throw new XFireRuntimeException("Could write schemas to wsdl!", e);
            }
        }
    }
View Full Code Here

            javax.wsdl.xml.WSDLWriter writer = WSDLFactory.newInstance().newWSDLWriter();
            writer.writeWSDL(getDefinition(), out);
        }
        catch (WSDLException e)
        {
            throw new XFireRuntimeException("Error creating wsdl", e);
        }
    }
View Full Code Here

        }
        else
        {
            if (!regdType.equals(type))
            {
                throw new XFireRuntimeException(
                        "Cannot create two schema elements with the same name "
                                + "and of different types: " + pName);

            }
        }
View Full Code Here

            getSoapBinding().setStyle(style);
        }
        else
        {
            if (!current.equals(style))
                throw new XFireRuntimeException("Multiple styles not supported at this time.");
        }
    }
View Full Code Here

            useSet = true;
        }
        else
        {
            if (!current.equals(use))
                throw new XFireRuntimeException("Multiple uses not supported at this time.");
        }
    }
View Full Code Here

             */
            Vector actions = new Vector();
            String action = getString(WSHandlerConstants.ACTION, mc);
            if (action == null)
            {
                throw new XFireRuntimeException("WSDoAllSender: No action defined");
            }
           
            int doAction = WSSecurityUtil.decodeAction(action, actions);
            if (doAction == WSConstants.NO_SECURITY)
            {
View Full Code Here

           
            return false;
        }
        catch (XMLStreamException e)
        {
            throw new XFireRuntimeException("Couldn't parse stream.", e);
        }
    }
View Full Code Here

TOP

Related Classes of org.codehaus.xfire.XFireRuntimeException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.