Saturday, November 29, 2008

Monday, November 24, 2008

[completeJava] question on SOAP WSDL file

Hi,

These days I am working on SOAP.  Something I didnt understand so now I am going to share that.

I am using PHP5 SOAP.

Below sample one I copied from one site If anybody know plz tell me the solution.
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns0="http://HighSchool.edu" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://HighSchool.edu">
    <wsdl:types>
        <xs:schema xmlns:ns="http://HighSchool.edu" xmlns:ns1="http://HighSchool.edu/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://HighSchool.edu">
            <xs:element name="ExamResult">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="studentName" type="xs:string"/>
                        <xs:element name="subject" type="xs:string"/>
                        <xs:element name="year" type="xs:int"/>
                        <xs:element name="semester" type="xs:int"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="ExamResultResponse">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="result" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
        </xs:schema>
    </wsdl:types>
    <wsdl:message name="ExamResultRequest">
        <wsdl:part name="parameters" element="ns0:ExamResult"/>
    </wsdl:message>
    <wsdl:message name="ExamResultResponse">
        <wsdl:part name="parameters" element="ns0:ExamResultResponse"/>
    </wsdl:message>
    <wsdl:portType name="ExamResultPortType">
        <wsdl:operation name="ExamResult">
            <wsdl:input message="ns0:ExamResultRequest" wsaw:Action="urn:ExamResult"/>
            <wsdl:output message="ns0:ExamResultResponse" wsaw:Action="urn:ExamResultResponse"/>
        </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="ExamResultSOAP12Binding" type="ns0:ExamResultPortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="ExamResult">
            <soap12:operation soapAction="urn:ExamResult" style="document"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>
    <wsdl:service name="ExamResult">
        <wsdl:port name="ExamResultSOAP12port_http" binding="ns0:ExamResultSOAP12Binding">
            <soap12:address location="http://localhost:8080/axis2/services/ExamResult"/>
        </wsdl:port>
    </wsdl:service>
</wsdl:definitions>


In above xmlns:ns0 means what. When I try to browse the URL 'http://HighSchool.edu'  nothing is there.

In <xs:element name="ExamResult"> tag having studentName, Age etc., with string and int type.  My question is how can I give my own data type (customised).

for example
<xs:complexType name="addr">
                    <xs:sequence>
                        <xs:element name="street" type="xs:string"/>
                        <xs:element name="city" type="xs:string"/>
                    </xs:sequence>
                </xs:complexType>
            <xs:element name="ExamResult">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="studentName" type="xs:string"/>
                        <xs:element name="subject" type="xs:string"/>
                        <xs:element name="year" type="xs:int"/>
                        <xs:element name="semester" type="xs:int"/>
                        <xs:element name="address" type="xs:addr"/>
                    </xs:sequence>
                </xs:complexType>
can I refere like this. if not please let me know the correct process.  This is one not giving error but unable to retrieve data.

Thanks in advance.
Hari.


Add more friends to your messenger and enjoy! Invite them now.

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Need traffic?

Drive customers

With search ads

on Yahoo!

Y! Groups blog

The place to go

to stay informed

on Groups news!

.

__,_._,___

Saturday, September 20, 2008

[completeJava] Make your career,programming help,news,entertainment,

Make your career,programming help,news,entertainment,
mainframe computing,graphics designe,IT Questions Answers,
Photo,e-mail,video hosting,online game,certification,
Forex trading,Mobango,Mobile software and
solution problem,Dating & affairs,Project and
programming help,Software Testing,Sql Question
And Answer,Interview question and answers and etc
at
http://informationinit.blogspot.com/

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

New business?

Get new customers.

List your web site

in Yahoo! Search.

Cat Groups

on Yahoo! Groups

Share pictures &

stories about cats.

.

__,_._,___

Thursday, September 18, 2008

[completeJava] SOAP request and response

Hi,

How the SOAP returns the complex data either in terms of Array or object.  I think only Object. It is returning scalar also. 
Provide some details regarding this issue.

Hari.


Unlimited freedom, unlimited storage. Get it now

__._,_.___
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Real Food Group

Share recipes

and favorite meals

w/ Real Food lovers.

.

__,_._,___

[completeJava] problem in SOAP

Hello,

in WSDL  xmlns:xsd='http://www.w3.org/2001/XMLSchema' I understood that these are default schema.

How can I write user defined I mean my own structure.

Could you please provide sample for this.


Hari.


Unlimited freedom, unlimited storage. Get it now

__._,_.___
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Need traffic?

Drive customers

With search ads

on Yahoo!

Best of Y! Groups

Check it out

and nominate your

group to be featured.

.

__,_._,___

[completeJava] Java, J2EE Professionals ready to join within 24hrs

Hello,

 

I represent Marlabs (www.marlabs.com, CMMI level 3 company) & currently we have 25 Java/J2EE skilled employees of us with an exp range of 2 to 5 yrs, they are available to join your projects with in 24hrs & None of them have any relocation constraint.

 

Marlabs Software is an Rs.400 crore IT services company with operations in United States of America and India. In India, we execute software projects for our US clients at our offshore facilities in Bangalore & Mysore. We also provide technology staffing solutions on contract & contract to hire for our clients in India & US.

 

Please feel free to contact us @ the below mentioned numbers & e-mail ID.  

 

Asit Kumar Gupta

 

Contact Number:

Direct: 40350603,

Mobile: 9880668349

 

Email ID:

asit.g@marlabs.com

 

 

__._,_.___
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Women of Curves

on Yahoo! Groups

see how women are

changing their lives.

Yahoo! Groups

Real Food Group

Share recipes

and favorite meals.

.

__,_._,___

Thursday, September 4, 2008

[completeJava] WebService problems

Hello, everybody.

I'm developing one webservice based in another already in our application. In SoapUI, the toher works fine, but mine, with the same settings, shows an error:

java.net.ConnectException: Connection refused

In some tests by Java main acessing the webservice, it shows this error:

ERROR [04 Set 08 11:20:01] org.apache.axis.client.Call [Thread:main] - Exception:
org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected, in something it was trying to deserialize.
at org.apache.axis.encoding.ser.SimpleDeserializer.onStartChild(SimpleDeserializer.java:145)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
.............................

For this call:
TEntity id = (TEntity) call2.invoke(new Object[] { sessionId, "6" });

What can it be?

Thanks for help,

Fabio

Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com.
http://br.new.mail.yahoo.com/addresses

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Find Balance

on Yahoo! Groups

manage nutrition,

activity & well-being.

.

__,_._,___

Wednesday, August 13, 2008

[completeJava] http://www.net4manpower.com urgent requirement for software programmer

Net4manpower urgent requirement for software programmer

Whether you are a webmaster seeking to avail the service of a
freelancer or whether you are a freelance programmer in search of a
competitive webmaster project or a permanent job, we are here to
help you with your outsource project needs.

Net4manpower urgently looking for a webdesigners and developers for
our currents projects, for further details log on to
http://www.net4manpower.com, mail us: service@mailvia.org, This is
very urgent requirements. so persons can contact +91 044-42107778 /
779. hurry!......

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Yahoo! Groups

Come check out

featured healthy living

groups on Yahoo!

All-Bran

10 Day Challenge

Join the club and

feel the benefits.

.

__,_._,___

Tuesday, August 12, 2008

[completeJava] CASUAL BROWSING MAKES U EARNING For more details please log

CASUAL BROWSING MAKES U EARNING

For more details please log on to

https://www.ezinfocenter.com/9975066/CB

PLEASE COMPLETE THE FOUR STEPS TO STEP UP YOUR FUTURE

STEP 1.FILL THE FORM AND SIGN UP, NEXT WINDOW OPENS

STEP 2.CLICK THE PROCEED BUTTON AT THE END OF THE PAGE,

STEP 3.FILL YOUR PROFILE,SUBMIT

STEP 4.CONFIRM YOUR REGISTRATION

YOU CAN JOIN MEMBERS ONLY AFTER YOU CONFIRM YOUR REGISTRATION
YOU will paid IN US$ for Each member joining under you.THEY ALSO SHOULD
CONFIRM THEIR REGISTRATION . FOR THIS You can use
free ads or yahoo groups to reach members as i reached you.Daily I am
posting in 50 groups,
and I am able to join at least 5 members a day. It is not hype I am
earning Y to wait
You cannot go wrong with this program. Do not delay in your
decision of accepting it as your full-time income. While you may not
become rich overnight, You WILL become independent

Further contact : please contact in my E-mail goki_r@yahoo.com

NOTE: THIS MESSAGE IS SENT TO INTERESTED MEMBERS OF THE GROUP OTHERS
PLEASE IGNORE.

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Need traffic?

Drive customers

With search ads

on Yahoo!

Find helpful tips

for Moderators

on the Yahoo!

Groups team blog.

.

__,_._,___

Thursday, July 24, 2008

[completeJava] Sqlsumit.com is your gateway to sites on the

Sqlsumit.com is your gateway to sites on the
internet for tutorials and trainings!Browse our
resources or just try the search
http://sqlsumit.com/

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Yahoo! Groups

Special K Challenge

Join others who

are losing pounds.

Best of Y! Groups

Discover groups

that are the best

of their class.

.

__,_._,___

Saturday, June 28, 2008

[completeJava] Get air tickets almost for nothing

As the business war on the air is hotting up with so many low-budget
airlines dominating the sky, the passengers can now enjoy the best
deals. The webguide - http://air.myguideforlife.com - helps you find
the cheapest and even free air tickets to make your journey ore
happier and very less expensive.

Visit the website now to find out how to get the cheap and free air
tickets: http://air.myguideforlife.com

__._,_.___
MARKETPLACE
You rock! Blockbuster wants to give you a complimentary trial of Blockbuster Total Access.
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Need traffic?

Drive customers

With search ads

on Yahoo!

Everyday Wellness

on Yahoo! Groups

Find groups that will

help you stay fit.

.

__,_._,___