Package org.codehaus.xfire

Examples of org.codehaus.xfire.XFireRuntimeException


            {
                throw e;
            }
            else
            {
                throw new XFireRuntimeException("Could not invoke service.", e);
            }
        }
    }
View Full Code Here


       
        this.wservice = definition.getService(service.getName());

       
        if (wservice == null)
            throw new XFireRuntimeException("Could not find service in wsdl: " + service.getName());
       
        setWrapped();
       
        ports = new ArrayList();
        for (Iterator itr = wservice.getPorts().values().iterator(); itr.hasNext();)
View Full Code Here

        boolean wrapped = true;
       
        PortType portType = definition.getPortType(service.getServiceInfo().getPortType());
   
        if (portType == null)
            throw new XFireRuntimeException("Could not find port type " + service.getServiceInfo().getPortType());
       
        for (Iterator itr = portType.getOperations().iterator(); itr.hasNext();)
        {
            Operation op = (Operation) itr.next();
            if (!WSDLServiceBuilder.isWrapped(op, schemas))
View Full Code Here

                String opName = bindingOperation.getOperation().getName();
                OperationInfo opInfo = serviceInfo.getOperation(opName);
               
                if (opInfo == null)
                {
                    throw new XFireRuntimeException("Could not find operation " + opName + " in the service model.");
                }
               
                ann.visit(bindingOperation, opInfo);
               
                ann.visit(bindingOperation.getBindingInput(),
View Full Code Here

            out.flush();
            out.close();
        }
        catch (Exception e)
        {
            throw new XFireRuntimeException("Couldn't write stream.", e);
        }

        currentId = context.getId();
       
        SoapEnvelopePacket response = new SoapEnvelopePacket(out.toString());
View Full Code Here

        {
            return id + "/" + service.getSimpleName();
        }
        catch (Exception e)
        {
            throw new XFireRuntimeException("Couldn't create the channel.", e);
        }
    }
View Full Code Here

        {
            current = xmlpullToStaxEvent(parser.getEventType());
        }
        catch (XmlPullParserException e)
        {
            throw new XFireRuntimeException("Couldn't convert to stax event.", e);
        }
    }
View Full Code Here

           
            return schema;
        }
        catch (Exception e)
        {
            throw new XFireRuntimeException("Couldn't load schema.", e);
        }
    }
View Full Code Here

            List result = path.selectNodes(doc);
            return result;
        }
        catch(JDOMException e)
        {
            throw new XFireRuntimeException("Error evaluating xpath " + xpath, e);
        }
    }
View Full Code Here

                else
                    outer = outer.getOuterType();
            }
           
            // No outer type, no type on this, should not be possible, so explode
            throw new XFireRuntimeException("No type name is defined for <" + schemaType + "> " +
                                            "and no outer type containing the inline type -- this " +
                                            "should not be possible to be a legally defined schema");
        }
    }
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.