Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 8

Chat Log      C:\Users\chira\Documents\ChatLog Refresher Program _Java Full stack

_ C Programming _ Python_ _Batch1_ Virtual Training at NEC 2021_11_02 12_51.rtf

Mohit Rai (to Everyone): 10:25: indina dinanka


Mohit Rai (to Everyone): 10:26: no maam google translator
Mohit Rai (to Everyone): 10:27: indina dinanka 02-10-21

Saumya Vishwakarma (to Everyone): 10:40: Yes ma'am


Shivaksh Ahalawat (to Everyone): 10:40: yes mam
Monica (to Everyone): 10:44: tea break 15 min
Ravi Pratap (to Everyone): 10:45: Yes mam
K Prasanna Kumar (to Everyone): 10:45: 8:30
Ravi Pratap (to Everyone): 10:45: 8:30
Akshay Singh (to Everyone): 10:45: yes ma'am
APURV AGNIHOTRI (to Everyone): 10:45: yes mam
Deep Shikhar Singh (to Everyone): 10:45: yes ma'am 8;30
shivendra gupta (to Everyone): 10:45: 8:30
Shivaksh Ahalawat (to Everyone): 10:45: yes mam
Saumya Vishwakarma (to Everyone): 10:45: Ok ma'am
Shivaksh Ahalawat (to Everyone): 11:00: back
Ravi Pratap (to Everyone): 11:01: Back
Deep Shikhar Singh (to Everyone): 11:01: back
Piyush Shukla (to Everyone): 11:01: Back
Aman Saxena (to Everyone): 11:01: back
shivendra gupta (to Everyone): 11:01: back
Naveen Kumar Mittal (to Everyone): 11:01: back
Kushagra Gupta (to Everyone): 11:01: back
K Prasanna Kumar (to Everyone): 11:02: back
Akshay Singh (to Everyone): 11:02: back
Abhishek Kaushik (to Everyone): 11:02: back
Unnati (to Everyone): 11:02: back
Saumya Vishwakarma (to Everyone): 11:02: back
Monica (to Everyone): 11:20: SOAPExample

Monica (to Everyone): 11:20: Create a Dynamic Web Project: SOAPExample

Monica (to Everyone): 11:20: class Person .java under Package: com.jaxws.beans

Monica (to Everyone): 11:21: Create service classes under package: com.jaxrs.service
An interface : PersonService 
It’s implementation class:  PersonServiceImpl

Monica (to Everyone): 11:25: Create service classes under package: com.jaxws.service
An interface : PersonService 
It’s implementation class:  PersonServiceImpl

Shivaksh Ahalawat (to Everyone): 11:28: done


shivendra gupta (to Everyone): 11:28: done
Abhishek Rana (to Everyone): 11:28: done
Piyush Shukla (to Everyone): 11:28: Done
Saumya Vishwakarma (to Everyone): 11:28: done
Akshay Singh (to Everyone): 11:28: done
Mohit Rai (to Everyone): 11:28: done
Aman Saxena (to Everyone): 11:28: done
Deep Shikhar Singh (to Everyone): 11:28: done
Ravi Pratap (to Everyone): 11:28: Done
K Prasanna Kumar (to Everyone): 11:29: done
Unnati (to Everyone): 11:30: mam there is no option of dynamic webproject
Naveen Kumar Mittal (to Everyone): 11:30: done
shivendra gupta (to Everyone): 11:30: select other from project
Monica (to Everyone): 11:37:
https://www.eclipse.org/downloads/packages/release/kepler/sr2/eclipse-ide-java-ee-
developers
Unnati (to Everyone): 11:41: now downloaded
shivendra gupta (to Everyone): 11:43: python
K Prasanna Kumar (to Everyone): 11:43: python
Monica (to Everyone): 11:52: package com.jaxws.beans;

import java.io.Serializable;

public class Person implements Serializable {


private static final long serialVersionUID = -5577579081118070434L;
private String name;
private int age;
private int id;

@Override
public String toString() {
return id + "::" + name + "::" + age;
}
//Generate getter and setters
}

Monica (to Everyone): 11:53: package com.jaxws.service;

import com.jaxws.beans.Person;

public interface PersonService {


public boolean addPerson(Person p);

public boolean deletePerson(int id);

public Person getPerson(int id);

public Person[] getAllPersons();


}

Monica (to Everyone): 11:54: package com.jaxws.service;


import java.util.HashMap; import java.util.Map; import java.util.Set;
import com.jaxws.beans.Person;
public class PersonServiceImpl implements PersonService {
private static Map<Integer,Person> persons = new HashMap<Integer,Person>();
@Override
public boolean addPerson(Person p) {
if(persons.get(p.getId()) != null) return false;
persons.put(p.getId(), p);
return true; }
@Override
public boolean deletePerson(int id) {
if(persons.get(id) == null) return false;
persons.remove(id);
return true; }
@Override
public Person getPerson(int id) {
return persons.get(id); }
@Override
public Person[] getAllPersons() {
Set<Integer> ids = persons.keySet();
Person[] p = new Person[ids.size()];
int i=0;
for(Integer id : ids){
p[i] = persons.get(id);
i++; }
return p; }
}

Shivaksh Ahalawat (to Everyone): 11:59: done


Akshay Singh (to Everyone): 11:59: done
Aman Saxena (to Everyone): 11:59: done
Piyush Shukla (to Everyone): 11:59: Done
K Prasanna Kumar (to Everyone): 11:59: done
Ravi Pratap (to Everyone): 11:59: Done
Abhishek Kaushik (to Everyone): 11:59: done
Monica (to Everyone): 12:01: Right Click the Project->Properties->Java Compiler ->
Change Compliance and Project Facet from Jdk 16 to Jdk 1.8

Unnati (to Everyone): 12:01: mam done


Unnati (to Everyone): 12:01: installed
Unnati (to Everyone): 12:02: okk mam
shivendra gupta (to Everyone): 12:03: mam can you please repeat web services part
Unnati (to Everyone): 12:04: yes mam
Unnati (to Everyone): 12:04: I got it
Monica (to Everyone): 12:05: SOAPExClient
Naveen Kumar Mittal (to Everyone): 12:06: done
Aman Saxena (to Everyone): 12:06: done
Akshay Singh (to Everyone): 12:06: done
Ravi Pratap (to Everyone): 12:06: Done
Piyush Shukla (to Everyone): 12:06: Done
Monica (to Everyone): 12:06: package com.jaxws.beans;
import java.io.Serializable;
public class Person implements Serializable{
private static final long serialVersionUID = -5577579081118070434L;
private String name;
private int age;
private int id;
@Override
public String toString(){ return id+"::"+name+"::"+age; }
//Generate getter and setters
public String getName() { return name; }
public void setName(String name) { this.name = name; }
public int getAge() { return age; }
public void setAge(int age) { this.age = age; }
public int getId() { return id; }
public void setId(int id) { this.id = id; }

Shivaksh Ahalawat (to Everyone): 12:07: done


Monica (to Everyone): 12:07: package com.jaxws.service;
import com.jaxws.beans.Person;
public interface PersonService {
public boolean addPerson(Person p);
public boolean deletePerson(int id);
public Person getPerson(int id);
public Person[] getAllPersons();
}

Saumya Vishwakarma (to Everyone): 12:08: done


Monica (to Everyone): 12:08: package com.jaxws.service;
import com.jaxws.beans.Person;
public interface PersonService {
public boolean addPerson(Person p);
public boolean deletePerson(int id);
public Person getPerson(int id);
public Person[] getAllPersons();
}

Monica (to Everyone): 12:09: package com.jaxws.service;


import java.util.HashMap; import java.util.Map; import java.util.Set;
import com.jaxws.beans.Person;
public class PersonServiceImpl implements PersonService {
private static Map<Integer,Person> persons = new HashMap<Integer,Person>();
@Override
public boolean addPerson(Person p) {
if(persons.get(p.getId()) != null) return false;
persons.put(p.getId(), p);
return true; }
@Override
public boolean deletePerson(int id) {
if(persons.get(id) == null) return false;
persons.remove(id);
return true; }
@Override
public Person getPerson(int id) {
return persons.get(id); }
@Override
public Person[] getAllPersons() {
Set<Integer> ids = persons.keySet();
Person[] p = new Person[ids.size()];
int i=0;
for(Integer id : ids){
p[i] = persons.get(id);
i++; }
return p; }
}

Monica (to Everyone): 12:18: PersonServiceImpl.wsdl


Deep Shikhar Singh (to Everyone): 12:27:
Hide getAllPersonsResponse

Hide getAllPersonsReturn

age (int): 20
id (int): 1
name (string): deep
Hide getAllPersonsReturn

age (int): 22
id (int): 2
name (string): shivendra
APURV AGNIHOTRI (to Everyone): 12:27: getAllPersonsResponse

Hide getAllPersonsReturn

age (int): 20
id (int): 1
name (string): apurv
Hide getAllPersonsReturn

age (int): 21
id (int): 2
name (string): aman
Piyush Shukla (to Everyone): 12:27:
Source
Hide Body

Hide getAllPersonsResponse

Hide getAllPersonsReturn

age (int): 20
id (int): 1
name (string): abc
Hide getAllPersonsReturn

age (int): 22
id (int): 2
name (string): abcd

Monica (to Everyone): 12:28:


http://localhost:10406/SOAPEx/services/PersonServiceImpl?wsdl
shivendra gupta (to Everyone): 12:28: it is opening xml file
Monica (to Everyone): 12:28:
http://localhost:8080/SOAPEx/services/PersonServiceImpl?wsdl
Deep Shikhar Singh (to Everyone): 12:30: done
Ravi Pratap (to Everyone): 12:30: Done
Piyush Shukla (to Everyone): 12:30: Done
Abhishek Rana (to Everyone): 12:30: done ma'am
Aman Saxena (to Everyone): 12:30: done
Shivaksh Ahalawat (to Everyone): 12:30: done
Saumya Vishwakarma (to Everyone): 12:30:
http://localhost:5372/SOAPExample/services/PersonServiceImpl?wsdl
Saumya Vishwakarma (to Everyone): 12:30: Done
APURV AGNIHOTRI (to Everyone): 12:30: PersonServiceImpl
Hi there, this is an AXIS service!

Perhaps there will be a form for invoking the service here...


Akshay Singh (to Everyone): 12:30: done
Deep Shikhar Singh (to Everyone): 12:34: mam in my its only showing one local host
8080
Naveen Kumar Mittal (to Everyone): 12:34: done
Unnati (to Everyone): 12:40: mam please repeat it my network connection lost
Akshay Singh (to Everyone): 12:41: there are error in client project
Akshay Singh (to Everyone): 12:41: ok ma'am
Unnati (to Everyone): 12:45: I am getting internal server error
Saumya Vishwakarma (to Everyone): 12:46: Ma'am Im getting true
Naveen Kumar Mittal (to Everyone): 12:46: Result
true
Deep Shikhar Singh (to Everyone): 12:46: yes maam its coming like yours
Saumya Vishwakarma (to Everyone): 12:47: Ma'am after clicking getAll Persons, then it
is coming
Saumya Vishwakarma (to Everyone): 12:47: Result
[com.jaxws.beans.Person@ab199879]
Shivaksh Ahalawat (to Everyone): 12:48: Result
[com.jaxws.beans.Person@e5630577]
Deep Shikhar Singh (to Everyone): 12:48: Result
[com.jaxws.beans.Person@2efd02]
Ravi Pratap (to Everyone): 12:49: [com.jaxws.beans.Person@ab199879]
shivendra gupta (to Everyone): 12:51: Result
[com.jaxws.beans.Person@194ee]
Piyush Shukla (to Everyone): 12:51: Result
[com.jaxws.beans.Person@95]
Unnati (to Everyone): 12:51: Thanku mam
Akshay Singh (to Everyone): 12:51: thank you Ma'am
Deep Shikhar Singh (to Everyone): 12:51: thank u maam
Ravi Pratap (to Everyone): 12:51: thank you mam
Saumya Vishwakarma (to Everyone): 12:51: Thank you ma'am
shivendra gupta (to Everyone): 12:51: happy dhanteras mam
Piyush Shukla (to Everyone): 12:51: Thanku Ma'am
K Prasanna Kumar (to Everyone): 12:51: thank you maam

You might also like